aboutsummaryrefslogtreecommitdiff
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
{
if ( $excludeIfAppMissing )
{
- $application = basename( $filename, ".t" );
- if ( ! -e $application )
- {
- print STDERR "No application (${application}) found for test harness (${filename})\n";
- next;
- }
+ $application = basename( $filename, ".t" );
+ if ( ! -e $application and ! -e $application.'.pm' )
+ {
+ print STDERR "No application (${application}) found for test harness (${filename})\n";
+ next;
+ }
}
push @tests, "${directory}/${filename}";
}