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

Switching off/on separate tests in mysql-test-run suite

    XMLWordPrintable

Details

    • Task
    • Status: Open (View Workflow)
    • Major
    • Resolution: Unresolved
    • None
    • Tests
    • None

    Description

      Now we can switch off whole test files, but usually each test file contain a lot of tests.

      We have most modern tests which starts with

      --echo #
      --echo # MDEV-...
      ...
      

      which result in

      #
      # MDEV-...
      ...
      

      so theoretically one can separate most modern test cases inside the file, and so can theoretically switch the separate test (or only part of the file) on and off by pre-processing the test file and result file before execution.

      As setup we can use the same format as now but with MDEV list and comments why they are switched off.

      Possible implementation

      Make `case` test command, following with the curly-braced block, e.g.:

      case (MDEV-21271) Switching off/on separate tests in mysql-test-run suite
      {
       # Test case code follows
      }
      

      Now it can be possible to recognize the case. We can make a switch like

      --ignore-case=MDEV-21271,...

      Attachments

        Issue Links

          Activity

            People

              sanja Oleksandr Byelkin
              sanja Oleksandr Byelkin
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:

                Git Integration

                  Error rendering 'com.xiplink.jira.git.jira_git_plugin:git-issue-webpanel'. Please contact your Jira administrators.