diff options
author | msvensson@pilot.blaudden <> | 2007-03-29 11:31:50 +0200 |
---|---|---|
committer | msvensson@pilot.blaudden <> | 2007-03-29 11:31:50 +0200 |
commit | 0e04aec960036020951725526c29be1486e273b3 (patch) | |
tree | 49febecf432e139520b8166efff7028bb5b8390e /mysql-test/lib | |
parent | a2c57a0dd489010c285a6a93af523a28bae57887 (diff) | |
download | mariadb-git-0e04aec960036020951725526c29be1486e273b3.tar.gz |
Make the script detect --default-storage-engine=x and
mark the test as requiring that storage engine(if we need to do that)
Make --ndb and --with-ndbcluster and alias for
--mysqld=--default-storage-engine=ndbcluster
Diffstat (limited to 'mysql-test/lib')
-rw-r--r-- | mysql-test/lib/mtr_cases.pl | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/mysql-test/lib/mtr_cases.pl b/mysql-test/lib/mtr_cases.pl index 22290a88d39..28c78fbffeb 100644 --- a/mysql-test/lib/mtr_cases.pl +++ b/mysql-test/lib/mtr_cases.pl @@ -498,6 +498,17 @@ sub collect_one_test_case($$$$$$$) { { mtr_options_from_test_file($tinfo,"$testdir/${tname}.test"); + if ( defined $::used_default_engine ) + { + # Different default engine is used + # tag test to require that engine + $tinfo->{'ndb_test'}= 1 + if ( $::used_default_engine =~ /^ndb/i ); + + $tinfo->{'innodb_test'}= 1 + if ( $::used_default_engine =~ /^innodb/i ); + } + if ( $tinfo->{'big_test'} and ! $::opt_big_test ) { $tinfo->{'skip'}= 1; |