Bug #45698 MTR_VERSION=1 ./mtr --force does not work
Small amendment to original fix, as it did not work in azalea Need to handle combinations, would eventually break in 5.1 too
This commit is contained in:
parent
a80bd0b5d7
commit
252c37a639
@ -540,7 +540,11 @@ sub collect_one_test_case($$$$$$$$$) {
|
||||
$tinfo->{'component_id'} = $component_id;
|
||||
push(@$cases, $tinfo);
|
||||
|
||||
if (exists ($incompatible{$tinfo->{'name'}}))
|
||||
# Remove "combinations" part of test name
|
||||
my $test_base_name= $tinfo->{'name'};
|
||||
$test_base_name=~ s/\s.*\n//;
|
||||
|
||||
if (exists ($incompatible{$test_base_name}))
|
||||
{
|
||||
$tinfo->{'skip'}= 1;
|
||||
$tinfo->{'comment'}= "Test cannot run in mtr v1";
|
||||
|
Loading…
x
Reference in New Issue
Block a user