]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
c-torture.exp (c-torture-compile, [...]): Treat $srcdir as a literal.
authorKazu Hirata <kazu@codesourcery.com>
Tue, 12 Sep 2006 17:12:49 +0000 (17:12 +0000)
committerKazu Hirata <kazu@gcc.gnu.org>
Tue, 12 Sep 2006 17:12:49 +0000 (17:12 +0000)
* lib/c-torture.exp (c-torture-compile, c-torture-execute):
Treat $srcdir as a literal.
* lib/fortran-torture.exp (fortran-torture-compile,
fortran-torture-execute): Likewise.
* lib/objc-torture.exp (objc-torture-compile,
objc-torture-execute): Likewise.
* lib/profopt.exp (profopt-execute): Likewise.

From-SVN: r116894

gcc/testsuite/ChangeLog
gcc/testsuite/lib/c-torture.exp
gcc/testsuite/lib/fortran-torture.exp
gcc/testsuite/lib/objc-torture.exp
gcc/testsuite/lib/profopt.exp

index 77582efab205f4fed24fb3963b68b69f83a3d2d2..885bcd7303b4e7938fdacd79f859a301db6f2013 100644 (file)
@@ -1,3 +1,13 @@
+2006-09-12  Kazu Hirata  <kazu@codesourcery.com>
+
+       * lib/c-torture.exp (c-torture-compile, c-torture-execute):
+       Treat $srcdir as a literal.
+       * lib/fortran-torture.exp (fortran-torture-compile,
+       fortran-torture-execute): Likewise.
+       * lib/objc-torture.exp (objc-torture-compile,
+       objc-torture-execute): Likewise.
+       * lib/profopt.exp (profopt-execute): Likewise.
+
 2006-09-11  Geoffrey Keating  <geoffk@apple.com>
 
        * gcc.dg/debug/dwarf2/dwarf-file1.c: New.
index c14876dc0d6838a42bae313cb3bdd8d678777cba..c9138d660686d1eb5a5a696317e468649e74f7a5 100644 (file)
@@ -65,7 +65,7 @@ proc c-torture-compile { src option } {
 
     set output "$tmpdir/[file tail [file rootname $src]].o"
 
-    regsub "^$srcdir/?" $src "" testcase
+    regsub "(?q)$srcdir/" $src "" testcase
     # If we couldn't rip $srcdir out of `src' then just do the best we can.
     # The point is to reduce the unnecessary noise in the logs.  Don't strip
     # out too much because different testcases with the same name can confuse
@@ -127,7 +127,7 @@ proc c-torture-execute { sources args } {
 
     set executable $tmpdir/[file tail [file rootname $src].x]
 
-    regsub "^$srcdir/?" $src "" testcase
+    regsub "(?q)$srcdir/" $src "" testcase
     # If we couldn't rip $srcdir out of `src' then just do the best we can.
     # The point is to reduce the unnecessary noise in the logs.  Don't strip
     # out too much because different testcases with the same name can confuse
index 182711553ce2652b40ee3929a5927d5891964ace..feb3c03fc9d9104cde0e085f02c08130a6c646d6 100644 (file)
@@ -54,7 +54,7 @@ proc fortran-torture-compile { src option } {
 
     set output "$tmpdir/[file tail [file rootname $src]].o"
 
-    regsub "^$srcdir/?" $src "" testcase
+    regsub "(?q)$srcdir/" $src "" testcase
 
     # If we couldn't rip $srcdir out of `src' then just do the best we can.
     # The point is to reduce the unnecessary noise in the logs.  Don't strip
@@ -158,7 +158,7 @@ proc fortran-torture-execute { src } {
     # Setup the options for the testcase run.
     set option_list $TORTURE_OPTIONS
     set executable $tmpdir/[file tail [file rootname $src].x]
-    regsub "^$srcdir/?" $src "" testcase
+    regsub "(?q)$srcdir/" $src "" testcase
 
     # If we couldn't rip $srcdir out of `src' then just do the best we can.
     # The point is to reduce the unnecessary noise in the logs.  Don't strip
index 09d0c7761ff1d13a583ec03a6988ffdafb136b75..4d52a3de6f10f73006d84f4652b61b3b0150a38e 100644 (file)
@@ -88,7 +88,7 @@ proc objc-torture-compile { src option } {
 
     set output "$tmpdir/[file tail [file rootname $src]].o"
 
-    regsub "^$srcdir/?" $src "" testcase
+    regsub "(?q)$srcdir/" $src "" testcase
     # If we couldn't rip $srcdir out of `src' then just do the best we can.
     # The point is to reduce the unnecessary noise in the logs.  Don't strip
     # out too much because different testcases with the same name can confuse
@@ -146,7 +146,7 @@ proc objc-torture-execute { src args } {
 
     set executable $tmpdir/[file tail [file rootname $src].x]
 
-    regsub "^$srcdir/?" $src "" testcase
+    regsub "(?q)$srcdir/" $src "" testcase
     # If we couldn't rip $srcdir out of `src' then just do the best we can.
     # The point is to reduce the unnecessary noise in the logs.  Don't strip
     # out too much because different testcases with the same name can confuse
index a33742cdb850611b4e9c8f1aae07c3c8c2035c91..0ba87fef497a870ab6e113f90c28e960a4e65f59 100644 (file)
@@ -221,7 +221,7 @@ proc profopt-execute { src } {
         error "No feedback option specified for second compile."
     }
 
-    regsub "^$srcdir/?" $src "" testcase
+    regsub "(?q)$srcdir/" $src "" testcase
     # If we couldn't rip $srcdir out of `src' then just do the best we can.
     # The point is to reduce the unnecessary noise in the logs.  Don't strip
     # out too much because different testcases with the same name can confuse