diff options
author | Sergei Golubchik <serg@mariadb.org> | 2014-10-09 21:43:48 +0200 |
---|---|---|
committer | Sergei Golubchik <serg@mariadb.org> | 2014-10-11 18:53:03 +0200 |
commit | c006105bbf82cb82d14a64e3a4a9d03b882a5db8 (patch) | |
tree | f7c2f211028d00fe99327322c607559c32f3e84e /mysql-test/suite.pm | |
parent | 41756a30d269d984dc7a52e22f35516fe90eca83 (diff) | |
download | mariadb-git-c006105bbf82cb82d14a64e3a4a9d03b882a5db8.tar.gz |
make sysvars_* tests to work on 32-bit too
Diffstat (limited to 'mysql-test/suite.pm')
-rw-r--r-- | mysql-test/suite.pm | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/mysql-test/suite.pm b/mysql-test/suite.pm index d80b4aaf822..7f7f1f599a1 100644 --- a/mysql-test/suite.pm +++ b/mysql-test/suite.pm @@ -23,6 +23,16 @@ sub skip_combinations { # don't run tests for the wrong platform $skip{'include/platform.combinations'} = [ (IS_WINDOWS) ? 'unix' : 'win' ]; + # and for the wrong word size + # check for exact values, in case the default changes to be small everywhere + my $longsysvar= $::mysqld_variables{'max-binlog-stmt-cache-size'}; + my %val_map= ( + '4294963200' => '64bit', # remember, it shows *what configuration to skip* + '18446744073709547520' => '32bit' + ); + die "unknown value max-binlog-stmt-cache-size=$longsysvar" unless $val_map{$longsysvar}; + $skip{'include/word_size.combinations'} = [ $val_map{$longsysvar} ]; + # 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; |