diff options
author | H.J. Lu <hongjiu.lu@intel.com> | 2009-11-18 16:02:17 +0000 |
---|---|---|
committer | H.J. Lu <hjl@gcc.gnu.org> | 2009-11-18 08:02:17 -0800 |
commit | b31c74fe48181aea58439883456a0518fee3281b (patch) | |
tree | 054751cea4b2bbba6c1beaa7793657d633d35abf /gcc | |
parent | 661e733051230d4c325923b2a6bac6aa7c79b904 (diff) | |
download | gcc-b31c74fe48181aea58439883456a0518fee3281b.zip gcc-b31c74fe48181aea58439883456a0518fee3281b.tar.gz gcc-b31c74fe48181aea58439883456a0518fee3281b.tar.bz2 |
re PR testsuite/41913 (ERROR: tcl error sourcing gcc.dg/lto/lto.exp)
2009-11-18 H.J. Lu <hongjiu.lu@intel.com>
PR testsuite/41913
* lib/lto.exp (scan-symbol): Properly check if target exist.
From-SVN: r154296
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/testsuite/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/testsuite/lib/lto.exp | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 594210f..626ae78 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2009-11-18 H.J. Lu <hongjiu.lu@intel.com> + + PR testsuite/41913 + * lib/lto.exp (scan-symbol): Properly check if target exist. + 2009-11-18 Janus Weil <janus@gcc.gnu.org> PR fortran/42072 diff --git a/gcc/testsuite/lib/lto.exp b/gcc/testsuite/lib/lto.exp index c3ff61a..9e9084d 100644 --- a/gcc/testsuite/lib/lto.exp +++ b/gcc/testsuite/lib/lto.exp @@ -520,7 +520,7 @@ proc scan-symbol { args } { verbose -log "nm is $nm" } - set output_file $execname + set output_file "[glob -nocomplain $execname]" if { $output_file == "" } { fail "scan-symbol $args: dump file does not exist" return |