diff options
author | Bjorn Munch <Bjorn.Munch@sun.com> | 2009-05-28 13:02:03 +0200 |
---|---|---|
committer | Bjorn Munch <Bjorn.Munch@sun.com> | 2009-05-28 13:02:03 +0200 |
commit | 4404b6a915a96104c327118cc6fafb43b59d9b96 (patch) | |
tree | 3941a05c93e576de4b5a7b8e91850d43044fec3e /mysql-test/mysql-test-run.pl | |
parent | 444bbe56f570e955910b6f545611adaa836cd54a (diff) | |
download | mariadb-git-4404b6a915a96104c327118cc6fafb43b59d9b96.tar.gz |
Bug #43659 MTR2 should report worker data for tests when using --parallel > 1
Adding "w# " before the test result
Also enable --parallel=2 so this can be tested.
Diffstat (limited to 'mysql-test/mysql-test-run.pl')
-rwxr-xr-x | mysql-test/mysql-test-run.pl | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/mysql-test/mysql-test-run.pl b/mysql-test/mysql-test-run.pl index 45ee54442d6..f4c1ed5ec11 100755 --- a/mysql-test/mysql-test-run.pl +++ b/mysql-test/mysql-test-run.pl @@ -723,6 +723,8 @@ sub run_worker ($) { delete($test->{'comment'}); delete($test->{'logfile'}); + $test->{worker} = $thread_num if $opt_parallel > 1; + run_testcase($test); #$test->{result}= 'MTR_RES_PASSED'; # Send it back, now with results set |