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:
@ -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;
|
||||
|
Reference in New Issue
Block a user