]> gcc.gnu.org Git - gcc.git/commitdiff
re PR testsuite/41913 (ERROR: tcl error sourcing gcc.dg/lto/lto.exp)
authorH.J. Lu <hongjiu.lu@intel.com>
Wed, 18 Nov 2009 16:02:17 +0000 (16:02 +0000)
committerH.J. Lu <hjl@gcc.gnu.org>
Wed, 18 Nov 2009 16:02:17 +0000 (08:02 -0800)
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

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

index 594210fe335a424c15d112917b1bf46dfbf2b785..626ae78d3cfd9d4a492be13ac47edd108d35bcd0 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 c3ff61aa2ce33f699c764a441e1eb40317f055b8..9e9084d1b687c4960dc7c29acc0b09610d577244 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
This page took 0.07234 seconds and 5 git commands to generate.