|
|
Despite the name of the directory, I'm sure that the omitted lsort is an
accident :-) This is the only directory which does not sort tests before
running them. Noticed while comparing test results from a cvs checkout and
an svn checkout, since they write the files in a different order.
Tested on arm-linux-gnueabi, committed as obvious.
--
Daniel Jacobowitz
CodeSourcery, LLC
2005-11-14 Daniel Jacobowitz <dan@xxxxxxxxxxxxxxxx>
* gcc.c-torture/unsorted/unsorted.exp: Sort tests before running them.
Index: gcc/gcc/testsuite/gcc.c-torture/unsorted/unsorted.exp
===================================================================
--- gcc.orig/gcc/testsuite/gcc.c-torture/unsorted/unsorted.exp 2005-11-04
11:02:21.000000000 -0500
+++ gcc/gcc/testsuite/gcc.c-torture/unsorted/unsorted.exp 2005-11-04
11:02:25.000000000 -0500
@@ -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
|
|