From: Marcus Boerger Date: Fri, 23 May 2003 22:35:15 +0000 (+0000) Subject: Executing tests once is enough X-Git-Tag: RELEASE_1_0_2~616 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=4980461081a61f53e485e9ae5c9591d73d0a514a;p=php Executing tests once is enough --- 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();