Skip to content

Commit

Permalink
Merge pull request #4890 from renfeiw/tkg3
Browse files Browse the repository at this point in the history
Fix group tag in testKitGen
  • Loading branch information
llxia committed Feb 26, 2019
2 parents 9d606fc + a593606 commit 304b8fc
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions test/TestConfig/scripts/testKitGen/makeGenTool/mkgen.pl
Expand Up @@ -315,17 +315,17 @@ sub handle_end {
}
# level defaults to 'extended'
if (!defined $parseTest->{'levels'}) {
$parseTest->{'levels'} = ['extended'];;
$parseTest->{'levels'} = ['extended'];
}
# group defaults to 'functional'
if (!defined $parseTest->{'groups'}) {
$parseTest->{'groups'} = ['functional'];;
$parseTest->{'groups'} = ['functional'];
}
# impl defaults to all
if (!defined $parseTest->{'impls'}) {
$parseTest->{'impls'} = $allImpls;
}
# aot default to applicable when testFlag contains AOT
# aot defaults to applicable when testFlag contains AOT
if (( $testFlag =~ /AOT/ ) && ( !defined $parseTest->{'aot'} )) {
$parseTest->{'aot'} = 'applicable';
}
Expand Down Expand Up @@ -363,7 +363,7 @@ sub handle_end {
push (@{$eleArr}, $eleStr);
} elsif (($elt eq 'groups') && ($parentEle eq 'groups')) {
if (@{$eleArr}) {
$parseTest->{'groups'} = $eleArr;
$parseTest->{'groups'} = $eleArr;
}
} elsif (($elt eq 'impl') && ($currentEle eq 'impl') && ($parentEle eq 'impls')) {
if ( !grep(/^$eleStr$/, @{$allImpls}) ) {
Expand Down

0 comments on commit 304b8fc

Please sign in to comment.