Skip to content

Commit

Permalink
Teach test_summary about #rakuast fudging (#838)
Browse files Browse the repository at this point in the history
This is similar to what was done in
rakudo/rakudo@fa9cd8ef55.
  • Loading branch information
usev6 committed Sep 9, 2023
1 parent 3368e59 commit c17f954
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions test_summary
Expand Up @@ -483,6 +483,9 @@ package RealRunner;
sub get_test_names {
my ($self) = @_;

# Should we run tests that only pass with RakuAST (marked as #rakuast in spectest.data)
my $rakuast = $ENV{'RAKUDO_RAKUAST'};

# Build the list of test scripts to run in @tfiles
my @tfiles;
my $testlist = $ARGV[1] || 't/spec/spectest.data';
Expand All @@ -495,6 +498,7 @@ sub get_test_names {
# XXX each implementation should tell us what files to use
next if $fudgespec =~ /jvm/ && $implementation !~ /jvm/;
next if $fudgespec =~ /moar/ && $implementation !~ /moar/;
next if $fudgespec =~ /rakuast/ && !$rakuast;
push @tfiles, "t/spec/$specfile";
}
close $fh or die $!;
Expand Down

0 comments on commit c17f954

Please sign in to comment.