PATCH: Use glob in gcc.target/x86_64/abi/abi-x86_64.exp
H.J. Lu
hjl.tools@gmail.com
Sun Feb 8 19:42:00 GMT 2009
gcc.target/x86_64/abi/abi-x86_64.exp only run tests in the
same directory. There is no need to use find. OK for trunk?
Thanks.
H.J.
----
2009-02-04 H.J. Lu <hongjiu.lu@intel.com>
* gcc.target/x86_64/abi/abi-x86_64.exp: Use glob instead of
find.
--- gcc/testsuite/gcc.target/x86_64/abi/abi-x86_64.exp.glob 2008-08-28 12:41:35.000000000 -0700
+++ gcc/testsuite/gcc.target/x86_64/abi/abi-x86_64.exp 2009-02-04 21:23:56.000000000 -0800
@@ -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 \
More information about the Gcc-patches
mailing list