summaryrefslogtreecommitdiff
path: root/tests/run-tests.php
diff options
context:
space:
mode:
Diffstat (limited to 'tests/run-tests.php')
-rw-r--r--tests/run-tests.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/run-tests.php b/tests/run-tests.php
index df9cf1e..798d218 100644
--- a/tests/run-tests.php
+++ b/tests/run-tests.php
@@ -765,7 +765,7 @@ HELP;
} else if (is_dir($testfile)) {
find_files($testfile);
- } else if (preg_match("/\.phpt$/", $testfile)) {
+ } else if (preg_match("/\.phpt\-?$/", $testfile)) {
$test_files[] = $testfile;
} else {
die("bogus test name " . $argv[$i] . "\n");