Skip to content

Commit

Permalink
Merge pull request #6611 from gilles-peskine-arm/run-test-suites-out-…
Browse files Browse the repository at this point in the history
…of-tree

Fix run-test-suites.pl in out-of-tree builds
  • Loading branch information
gilles-peskine-arm authored Nov 22, 2022
2 parents 4f19d86 + 298f781 commit a08103a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/scripts/run-test-suites.pl
Original file line number Diff line number Diff line change
Expand Up @@ -50,10 +50,10 @@ =head1 SYNOPSIS
'verbose|v:1' => \$verbose,
) or die;

# All test suites = executable files derived from a .data file.
# All test suites = executable files with a .datax file.
my @suites = ();
for my $data_file (glob 'suites/test_suite_*.data') {
(my $base = $data_file) =~ s#^suites/(.*)\.data$#$1#;
for my $data_file (glob 'test_suite_*.datax') {
(my $base = $data_file) =~ s/\.datax$//;
push @suites, $base if -x $base;
push @suites, "$base.exe" if -e "$base.exe";
}
Expand Down

0 comments on commit a08103a

Please sign in to comment.