Skip to content

Commit 8d2081a

Browse files
committed
test.pl now reports both directory and descriptor file name
The test.pl script identifies tests by the directory and the name of the descriptor file name. Historically, the directory was sufficient, since the descriptor file name used to be hardwired to test.desc. This changes the output to include both the path and the name of the file, which removes the need to look for directory and file name in two different places.
1 parent e8ff03a commit 8d2081a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

regression/test.pl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -487,13 +487,13 @@ ($)
487487
if(0 == $printed_this_test) {
488488
$printed_this_test = 1;
489489
print "\n\n";
490-
print "Failed test: $current_test\n";
490+
print "Failed test: $current_test/$descriptor_file\n";
491491
open FH, "<$current_test/$output_file";
492492
while (my $f = <FH>) {
493493
print $f;
494494
}
495495
close FH;
496-
print "\n\nFailed $descriptor_file lines:\n";
496+
print "\n\nFailed $current_test/$descriptor_file lines:\n";
497497
}
498498

499499
print "$line\n";

0 commit comments

Comments
 (0)