diff options
author | Sergei Golubchik <sergii@pisem.net> | 2010-08-24 14:33:34 +0200 |
---|---|---|
committer | Sergei Golubchik <sergii@pisem.net> | 2010-08-24 14:33:34 +0200 |
commit | ced635391ef9368276eddf6b490f6d969a40cef4 (patch) | |
tree | e92e354cb37c0ec6738c9c91819b61c90587f96b /mysql-test/lib | |
parent | 8da7be63027403c5b82eda378842142cdcbad95c (diff) | |
download | mariadb-git-ced635391ef9368276eddf6b490f6d969a40cef4.tar.gz |
allow suite.pm to tell mtr to skip the suite
Diffstat (limited to 'mysql-test/lib')
-rw-r--r-- | mysql-test/lib/mtr_cases.pm | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/mysql-test/lib/mtr_cases.pm b/mysql-test/lib/mtr_cases.pm index ef85cf43537..f9c0c762753 100644 --- a/mysql-test/lib/mtr_cases.pm +++ b/mysql-test/lib/mtr_cases.pm @@ -997,6 +997,13 @@ sub collect_one_test_case { } } + if (not ref $::suites{$tinfo->{suite}}) + { + $tinfo->{'skip'}= 1; + $tinfo->{'comment'}= $::suites{$tinfo->{suite}}; + return $tinfo; + } + # ---------------------------------------------------------------------- # Append mysqld extra options to master and slave, as appropriate # ---------------------------------------------------------------------- |