summaryrefslogtreecommitdiff
path: root/run-tests.php
diff options
context:
space:
mode:
authorMarcus Boerger <helly@php.net>2003-05-23 22:35:15 +0000
committerMarcus Boerger <helly@php.net>2003-05-23 22:35:15 +0000
commit4980461081a61f53e485e9ae5c9591d73d0a514a (patch)
tree7a90a8c394e76b20d503fed812898ef8857f3cbc /run-tests.php
parent2537e01c7742eb32f148ef7530ca3ff8ed0ec3d1 (diff)
downloadphp-git-4980461081a61f53e485e9ae5c9591d73d0a514a.tar.gz
Executing tests once is enough
Diffstat (limited to 'run-tests.php')
-rwxr-xr-xrun-tests.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/run-tests.php b/run-tests.php
index 8da92faabf..9be82f1f5e 100755
--- a/run-tests.php
+++ b/run-tests.php
@@ -270,6 +270,7 @@ HELP;
}
}
}
+ $test_files = array_unique($test_files);
for($i = 0; $i < count($test_files); $i++) {
$test_files[$i] = trim($test_files[$i]);
}
@@ -367,6 +368,7 @@ function test_sort($a, $b) {
}
}
+$test_files = array_unique($test_files);
usort($test_files, "test_sort");
$start_time = time();