Bug #59789 Hook the invocation of unit tests in MTR.
Submitted: 28 Jan 2011 8:41 Modified: 14 Mar 2011 17:46
Reporter: Davi Arnaut (OCA) Email Updates:
Status: Closed Impact on me:
None 
Category:Tools: MTR / mysql-test-run Severity:S3 (Non-critical)
Version:trunk OS:Any
Assigned to: Bjørn Munch CPU Architecture:Any

[28 Jan 2011 8:41] Davi Arnaut
Description:
In order to have a more integrated way to run tests and unit tests it would be nice if the execution of unit tests could be controlled/invoked by mysql-test-run. The easier we make unit tests to be run and seen, the better. Also, this would provide the opportunity of, for example, running unit tests under valgrind.

How to repeat:
No unit tests are invoked when simply running mysql-test-run.

Suggested fix:
Make mysql-test-run invoke our unit tests.
[7 Feb 2011 14:47] Bugs System
A patch for this bug has been committed. After review, it may
be pushed to the relevant source trees for release in the next
version. You can access the patch from:

  http://lists.mysql.com/commits/130587

3163 Bjorn Munch	2011-02-07
      Bug #59789 Hook the invocation of unit tests in MTR.
      Added code to call 'ctest' if the needed cmake file is present
      Will do so unless tests/suited named on mtr command line
      Also add option to turn on/off
      Will be made to look like a test 'unit-test' which counts towards total
      Extracts summary report and any test failures from ctest output
[9 Feb 2011 10:04] Magnus Blåudd
Looks ok to me.
[14 Mar 2011 17:47] Paul DuBois
Changes to test suite. No changelog entry needed.

CHANGESET - http://lists.mysql.com/commits/132361