1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-27 18:02:13 +03:00

instead of having win/notwin tests that only differ in results,

use one test with two combinations (win/unix), where only one is enabled.
Apply this technique to mysqld--help.
This commit is contained in:
Sergei Golubchik
2012-02-23 09:24:11 +01:00
parent 3cda92aece
commit e293bdb2c1
10 changed files with 105 additions and 19 deletions

View File

@ -1,4 +1,5 @@
package My::Suite::Main;
use My::Platform;
@ISA = qw(My::Suite);
@ -13,6 +14,9 @@ sub skip_combinations {
my %skip = ( 'include/have_innodb.combinations' => [ @combinations ],
'include/have_xtradb.combinations' => [ @combinations ]);
# don't run tests for the wrong platform
$skip{'include/platform.combinations'} = [ (IS_WINDOWS) ? 'unix' : 'win' ];
# 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;