mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
./mtr --skip-not-found should skip combinations too
With the result like encryption.innochecksum 'debug' [ skipped ] combination not found instead of *** ERROR: Could not run encryption.innochecksum with 'debug' combination(s)
This commit is contained in:
@ -892,6 +892,12 @@ sub collect_one_test_case {
|
|||||||
}
|
}
|
||||||
my @no_combs = grep { $test_combs{$_} == 1 } keys %test_combs;
|
my @no_combs = grep { $test_combs{$_} == 1 } keys %test_combs;
|
||||||
if (@no_combs) {
|
if (@no_combs) {
|
||||||
|
if ($::opt_skip_not_found) {
|
||||||
|
push @{$tinfo->{combinations}}, @no_combs;
|
||||||
|
$tinfo->{'skip'}= 1;
|
||||||
|
$tinfo->{'comment'}= "combination not found";
|
||||||
|
return $tinfo;
|
||||||
|
}
|
||||||
mtr_error("Could not run $name with '".(
|
mtr_error("Could not run $name with '".(
|
||||||
join(',', sort @no_combs))."' combination(s)");
|
join(',', sort @no_combs))."' combination(s)");
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user