run tests in file order, not alphabetical

R=rsc
DELTA=1  (0 added, 0 deleted, 1 changed)
OCL=19723
CL=19727
This commit is contained in:
Rob Pike 2008-11-20 15:22:32 -08:00
parent 4af8ef6519
commit bd6e0bc8ba
1 changed files with 1 additions and 1 deletions

View File

@ -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