From 4980461081a61f53e485e9ae5c9591d73d0a514a Mon Sep 17 00:00:00 2001 From: Marcus Boerger Date: Fri, 23 May 2003 22:35:15 +0000 Subject: [PATCH] Executing tests once is enough --- run-tests.php | 2 ++ 1 file changed, 2 insertions(+) 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(); -- 2.50.1