aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/lib/objc.exp
diff options
context:
space:
mode:
authorDavid Billinghurst <David.Billinghurst@riotinto.com>2004-06-18 23:48:45 +0000
committerDavid Billinghurst <billingd@gcc.gnu.org>2004-06-18 23:48:45 +0000
commitfb0737c2f5ead1e96c0eb3f72305b0d509cb53f4 (patch)
tree631a7d9810b8194ec4cddadda90ac50b2a88aab1 /gcc/testsuite/lib/objc.exp
parente2aa7005e792abe50ec7084b4850db0bf8c982ab (diff)
downloadgcc-fb0737c2f5ead1e96c0eb3f72305b0d509cb53f4.zip
gcc-fb0737c2f5ead1e96c0eb3f72305b0d509cb53f4.tar.gz
gcc-fb0737c2f5ead1e96c0eb3f72305b0d509cb53f4.tar.bz2
re PR other/16043 ([3.4 only] gcc version not reported with "enable-version-specific-runtime-libs" to gcc-testresults)
2004-06-19 David Billinghurst (David.Billinghurst@riotinto.com) PR other/16043 * lib/g++.exp (g++_version): Tweak regexp for version * lib/g77.exp (g77_version): Likewise * lib/gfortran.exp (gfortran_version): Likewise * lib/objc.exp (objc_version): Likewise * lib/treelang.exp (treelang_version): Likewise From-SVN: r83374
Diffstat (limited to 'gcc/testsuite/lib/objc.exp')
-rw-r--r--gcc/testsuite/lib/objc.exp2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/testsuite/lib/objc.exp b/gcc/testsuite/lib/objc.exp
index 1b6c10d..d00da0f 100644
--- a/gcc/testsuite/lib/objc.exp
+++ b/gcc/testsuite/lib/objc.exp
@@ -56,7 +56,7 @@ proc default_objc_version { } {
set tmp [remote_exec host "$compiler -v"]
set status [lindex $tmp 0];
set output [lindex $tmp 1];
- regexp "version\[^\n\r\]*" $output version
+ regexp " version \[^\n\r\]*" $output version
if { $status == 0 && [info exists version] } then {
clone_output "$compiler_name $version\n"
} else {