* gcc.c-torture/unsorted/unsorted.exp: Sort tests before running them.

From-SVN: r106890
This commit is contained in:
Daniel Jacobowitz 2005-11-14 16:28:48 +00:00 committed by Daniel Jacobowitz
parent e2d281617f
commit b967586450
2 changed files with 5 additions and 1 deletions

View file

@ -1,3 +1,7 @@
2005-11-14 Daniel Jacobowitz <dan@codesourcery.com>
* gcc.c-torture/unsorted/unsorted.exp: Sort tests before running them.
2005-11-13 Mark Mitchell <mark@codesourcery.com>
PR c++/24817

View file

@ -39,7 +39,7 @@ load_lib c-torture.exp
# require unique options need their own .exp file.
#
foreach testcase [glob -nocomplain $srcdir/$subdir/*.c] {
foreach testcase [lsort [glob -nocomplain $srcdir/$subdir/*.c]] {
if [file exists [file rootname $testcase].exp] then {
verbose "INFO:\"[file rootname $testcase].exp\" exists, skipping test" 3
continue