summaryrefslogtreecommitdiff
path: root/mysql-test/lib
diff options
context:
space:
mode:
authorBjorn Munch <bjorn.munch@oracle.com>2011-02-21 13:56:43 +0100
committerBjorn Munch <bjorn.munch@oracle.com>2011-02-21 13:56:43 +0100
commit562978e1abaa7f2b073e6192173f009c358e8ac4 (patch)
tree996faa658cd4d6655682a62a444ee70e355c0838 /mysql-test/lib
parent1997b486f9549516d4d97ea908046c04ef547e59 (diff)
downloadmariadb-git-562978e1abaa7f2b073e6192173f009c358e8ac4.tar.gz
Bug #11766640 (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 Addendum: added override to turn off in PB, add back in selected invocations
Diffstat (limited to 'mysql-test/lib')
-rw-r--r--mysql-test/lib/mtr_report.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/mysql-test/lib/mtr_report.pm b/mysql-test/lib/mtr_report.pm
index f86be0d4c68..dcf83260720 100644
--- a/mysql-test/lib/mtr_report.pm
+++ b/mysql-test/lib/mtr_report.pm
@@ -72,7 +72,7 @@ sub _mtr_report_test_name ($) {
print _name(). _timestamp();
printf "%-40s ", $tname;
my $worker = $tinfo->{worker};
- printf "w$worker " if $worker;
+ print "w$worker " if defined $worker;
return $tname;
}