]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
* gcc.c-torture/unsorted/unsorted.exp: Sort tests before running them.
authorDaniel Jacobowitz <dan@codesourcery.com>
Mon, 14 Nov 2005 16:28:48 +0000 (16:28 +0000)
committerDaniel Jacobowitz <drow@gcc.gnu.org>
Mon, 14 Nov 2005 16:28:48 +0000 (16:28 +0000)
From-SVN: r106890

gcc/testsuite/ChangeLog
gcc/testsuite/gcc.c-torture/unsorted/unsorted.exp

index 6f9167fd4fbf5f1f03c125c11615cec496e6eb59..2a864b0558bbb405c097557e379d98b8241e35c7 100644 (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
index 5f91f864d79f5fc6e582fcd5c290b26cd7179a07..d716a76431edf713ec1a76f45e8d33882f6b0bc8 100644 (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