OSDN Git Service

2009-11-18 H.J. Lu <hongjiu.lu@intel.com>
authorhjl <hjl@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 18 Nov 2009 16:02:17 +0000 (16:02 +0000)
committerhjl <hjl@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 18 Nov 2009 16:02:17 +0000 (16:02 +0000)
PR testsuite/41913
* lib/lto.exp (scan-symbol): Properly check if target exist.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@154296 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/testsuite/ChangeLog
gcc/testsuite/lib/lto.exp

index 594210f..626ae78 100644 (file)
@@ -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
index c3ff61a..9e9084d 100644 (file)
@@ -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