Re: Question about test cases in "mysql-test" directory

Bjorn Munch <[email protected]> Thu, 13 Dec 2012 11:04:54 +0100
Newsgroups gmane.comp.db.mysql.devel
Organization Oracle Corp.
Message-ID <[email protected]>
On 12/12 13.21, Weldon Whipple wrote:
> The tests in mysql-test/t and those beneath mysql-test/suite
> constitute the set of all tests.
> 
> Both mysql-test/t and and the tests beneath mysql-test/suite are
> disjoint subsets of the set of all tests.

It's also worth noting that the tests under mysql-test/t belong to a
suite implicitly called 'main'. So in the test log, you'll find the
test 1st listed as main.1st and so on.

You can also run all the tests in t/ by specifying --suite-main.

A few suites have test files directly under suite/<name>/ rather than
suite/<name>/t/ since MTR will also look there. I would recommend
always putting new tests in a suite under suite/<name>/t/ to avoid
confusion.

- Bjorn Munch

-- 
MySQL Internals Mailing List
For list archives: http://lists.mysql.com/internals
To unsubscribe:    http://lists.mysql.com/internals