diff options
-rw-r--r-- | NPTest.pm | 12 |
1 files changed, 6 insertions, 6 deletions
@@ -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 | } |