]> granicus.if.org Git - php/commitdiff
Executing tests once is enough
authorMarcus Boerger <helly@php.net>
Fri, 23 May 2003 22:35:15 +0000 (22:35 +0000)
committerMarcus Boerger <helly@php.net>
Fri, 23 May 2003 22:35:15 +0000 (22:35 +0000)
run-tests.php

index 8da92faabfe4b9f4e787079df475ca9e67889129..9be82f1f5e67b12ee5111ff358316739952b8f76 100755 (executable)
@@ -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();