Uploaded image for project: 'MariaDB Server'
  1. MariaDB Server
  2. MDEV-105

caching have* checks in the mysql-test-run

    Details

    • Type: Task
    • Status: Closed
    • Priority: Minor
    • Resolution: Won't Fix
    • Fix Version/s: None
    • Component/s: None
    • Labels:

      Description

      Include files are often used in the mtr to perform environment checks and skip the test where it's not applicable.

      The problem is — if the file is included in many tests, it'll be run as many times, as a part of the test. And running the test is not cheap.

      We may want to let mtr to cache the result of the check. Say, it remembers that not_windows.inc failed once and automatically skips all other tests that include this file.

      Unsolved question — what to do with the include files that may behave differently in different test files?

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

              There are no comments yet on this issue.

                People

                • Assignee:
                  Unassigned
                  Reporter:
                  serg Sergei Golubchik
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  0 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: