diff options
author | Sergei Golubchik <serg@mariadb.org> | 2018-03-22 13:48:31 +0100 |
---|---|---|
committer | Sergei Golubchik <serg@mariadb.org> | 2018-03-23 00:55:20 +0100 |
commit | 4092f90655626aa36d3f9952d0287afdc1ceeef1 (patch) | |
tree | 0a150e586acd154a8990e032ff65d201408d410a /mysql-test/suite.pm | |
parent | 5ff7ed96d5e683fe689d101f9add4407c49f0e93 (diff) | |
download | mariadb-git-4092f90655626aa36d3f9952d0287afdc1ceeef1.tar.gz |
MDEV-15409 make sure every sst script is tested in buildbot
galera SST tests have a debug part, but we don't want to limit them
to fulltest2 builder. So, add support for test files that
have a debug part:
* add maybe_debug.inc and maybe_debug.combinations
* 'debug' combination is run when debug is available
* 'release' combination is run otherwise
* test wraps debug parts in if($with_debug) { ... }
* and creates ,debug.rdiff for debug results
Diffstat (limited to 'mysql-test/suite.pm')
-rw-r--r-- | mysql-test/suite.pm | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/mysql-test/suite.pm b/mysql-test/suite.pm index 4d921d1b049..cb9ab0c375d 100644 --- a/mysql-test/suite.pm +++ b/mysql-test/suite.pm @@ -33,6 +33,9 @@ sub skip_combinations { die "unknown value max-binlog-stmt-cache-size=$longsysvar" unless $val_map{$longsysvar}; $skip{'include/word_size.combinations'} = [ $val_map{$longsysvar} ]; + $skip{'include/maybe_debug.combinations'} = + [ defined $::mysqld_variables{'debug-dbug'} ? 'release' : 'debug' ]; + # as a special case, disable certain include files as a whole $skip{'include/not_embedded.inc'} = 'Not run for embedded server' if $::opt_embedded_server; |