diff options
Diffstat (limited to 'mysql-test/suite/unit')
-rw-r--r-- | mysql-test/suite/unit/suite.pm | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/mysql-test/suite/unit/suite.pm b/mysql-test/suite/unit/suite.pm index 966fd278a52..76c62037b3d 100644 --- a/mysql-test/suite/unit/suite.pm +++ b/mysql-test/suite/unit/suite.pm @@ -43,11 +43,15 @@ sub start_test { my (@ctest_list)= `cd .. && ctest $opt_vs_config --show-only --verbose`; return "No ctest" if $?; - my ($command, %tests); + my ($command, %tests, $prefix); for (@ctest_list) { chomp; - $command= $' if /^\d+: Test command: +/; - $tests{$'}=$command if /^ +Test +#\d+: +/; + if (/^\d+: Test command: +/) { + $command= $'; + $prefix= /libmariadb/ ? 'conc_' : ''; + } elsif (/^ +Test +#\d+: +/) { + $tests{$prefix.$'}=$command; + } } bless { ctests => { %tests } }; } |