]> Cypherpunks repositories - gostls13.git/commitdiff
run tests in file order, not alphabetical
authorRob Pike <r@golang.org>
Thu, 20 Nov 2008 23:22:32 +0000 (15:22 -0800)
committerRob Pike <r@golang.org>
Thu, 20 Nov 2008 23:22:32 +0000 (15:22 -0800)
R=rsc
DELTA=1  (0 added, 0 deleted, 1 changed)
OCL=19723
CL=19727

src/cmd/gotest/gotest

index 9bf7270bff43b2872a2fa463f050310d39999cd8..988e6f4eec8526d01d06cb4046876e60021f49f3 100755 (executable)
@@ -55,7 +55,7 @@ trap "rm -f _testmain.go _testmain.6" 0 1 2 3 14 15
        # test array
        echo
        echo 'var tests = &[]testing.Test {'
-       for i in $(6nm $ofiles | grep ' T .*·Test' | sed 's/.* //; s/·/./')
+       for i in $(6nm -s $ofiles | grep ' T .*·Test' | sed 's/.* //; s/·/./')
        do
                echo '  testing.Test{ "'$i'", &'$i' },'
        done