abi-x86_64.exp: Use glob instead of find.
authorH.J. Lu <hongjiu.lu@intel.com>
Mon, 9 Feb 2009 18:07:41 +0000 (18:07 +0000)
committerH.J. Lu <hjl@gcc.gnu.org>
Mon, 9 Feb 2009 18:07:41 +0000 (10:07 -0800)
2009-02-09  H.J. Lu  <hongjiu.lu@intel.com>

* gcc.target/x86_64/abi/abi-x86_64.exp: Use glob instead of
find.

From-SVN: r144036

gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/x86_64/abi/abi-x86_64.exp

index cd90ac8..4bf47cc 100644 (file)
@@ -1,3 +1,8 @@
+2009-02-09  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * gcc.target/x86_64/abi/abi-x86_64.exp: Use glob instead of
+       find.
+
 2009-02-09  Eric Botcazou  <ebotcazou@adacore.com>
 
        * gcc.c-torture/compile/20090209-1.c: New test.
index 61dc3e4..97a33e5 100644 (file)
@@ -31,7 +31,7 @@ torture-init
 set-torture-options $C_TORTURE_OPTIONS
 set additional_flags "-W -Wall"
 
-foreach src [lsort [find $srcdir/$subdir test_*.c]] {
+foreach src [lsort [glob -nocomplain $srcdir/$subdir/test_*.c]] {
     if {[runtest_file_p $runtests $src]} {
        if { ([istarget *-*-darwin*]) } then {
            c-torture-execute [list $src \