summaryrefslogtreecommitdiffstats
path: root/NPTest.pm
diff options
context:
space:
mode:
Diffstat (limited to 'NPTest.pm')
-rw-r--r--NPTest.pm12
1 files changed, 6 insertions, 6 deletions
diff --git a/NPTest.pm b/NPTest.pm
index f14657c1..0713b5ef 100644
--- a/NPTest.pm
+++ b/NPTest.pm
@@ -559,12 +559,12 @@ sub TestsFrom
559 { 559 {
560 if ( $excludeIfAppMissing ) 560 if ( $excludeIfAppMissing )
561 { 561 {
562 $application = basename( $filename, ".t" ); 562 $application = basename( $filename, ".t" );
563 if ( ! -e $application ) 563 if ( ! -e $application and ! -e $application.'.pm' )
564 { 564 {
565 print STDERR "No application (${application}) found for test harness (${filename})\n"; 565 print STDERR "No application (${application}) found for test harness (${filename})\n";
566 next; 566 next;
567 } 567 }
568 } 568 }
569 push @tests, "${directory}/${filename}"; 569 push @tests, "${directory}/${filename}";
570 } 570 }