Commit 729c1f7a by Robert Schiele Committed by Andrew Pinski

re PR testsuite/10819 (testsuite creates CR+LF on compiler version lines in test summary files)

2003-12-09  Robert Schiele  <rschiele@uni-mannheim.de>

        PR other/10819
        * lib/gcc.exp (default_gcc_version): Do not match NL/CR characters
        to fix Bug 10819.
        * lib/g++.exp (g++_version): Likewise.
        * lib/g77.exp (g77_version): Likewise.
        * lib/objc.exp (default_objc_version): Likewise.

From-SVN: r74507
parent 3090572c
2003-12-09 Robert Schiele <rschiele@uni-mannheim.de>
PR other/10819
* lib/gcc.exp (default_gcc_version): Do not match NL/CR characters
to fix Bug 10819.
* lib/g++.exp (g++_version): Likewise.
* lib/g77.exp (g77_version): Likewise.
* lib/objc.exp (default_objc_version): Likewise.
2003-12-10 Richard Earnshaw <rearnsha@arm.com> 2003-12-10 Richard Earnshaw <rearnsha@arm.com>
* arm.md: New split patterns for optimizing bitfield accesses. * arm.md: New split patterns for optimizing bitfield accesses.
......
...@@ -49,7 +49,7 @@ proc g++_version { } { ...@@ -49,7 +49,7 @@ proc g++_version { } {
set tmp [remote_exec host "$compiler -v"] set tmp [remote_exec host "$compiler -v"]
set status [lindex $tmp 0]; set status [lindex $tmp 0];
set output [lindex $tmp 1]; set output [lindex $tmp 1];
regexp "version.*$" $output version regexp "version\[^\n\r\]*" $output version
if { $status == 0 && [info exists version] } then { if { $status == 0 && [info exists version] } then {
if [is_remote host] { if [is_remote host] {
clone_output "$compiler $version\n" clone_output "$compiler $version\n"
......
...@@ -50,7 +50,7 @@ proc g77_version { } { ...@@ -50,7 +50,7 @@ proc g77_version { } {
set tmp [remote_exec host "$compiler -v"] set tmp [remote_exec host "$compiler -v"]
set status [lindex $tmp 0]; set status [lindex $tmp 0];
set output [lindex $tmp 1]; set output [lindex $tmp 1];
regexp "version.*$" $output version regexp "version\[^\n\r\]*" $output version
if { $status == 0 && [info exists version] } then { if { $status == 0 && [info exists version] } then {
if [is_remote host] { if [is_remote host] {
clone_output "$compiler $version\n" clone_output "$compiler $version\n"
......
...@@ -56,7 +56,7 @@ proc default_gcc_version { } { ...@@ -56,7 +56,7 @@ proc default_gcc_version { } {
set tmp [remote_exec host "$compiler -v"] set tmp [remote_exec host "$compiler -v"]
set status [lindex $tmp 0]; set status [lindex $tmp 0];
set output [lindex $tmp 1]; set output [lindex $tmp 1];
regexp "version.*$" $output version regexp "version\[^\n\r\]*" $output version
if { $status == 0 && [info exists version] } then { if { $status == 0 && [info exists version] } then {
clone_output "$compiler_name $version\n" clone_output "$compiler_name $version\n"
} else { } else {
......
...@@ -56,7 +56,7 @@ proc default_objc_version { } { ...@@ -56,7 +56,7 @@ proc default_objc_version { } {
set tmp [remote_exec host "$compiler -v"] set tmp [remote_exec host "$compiler -v"]
set status [lindex $tmp 0]; set status [lindex $tmp 0];
set output [lindex $tmp 1]; set output [lindex $tmp 1];
regexp "version.*$" $output version regexp "version\[^\n\r\]*" $output version
if { $status == 0 && [info exists version] } then { if { $status == 0 && [info exists version] } then {
clone_output "$compiler_name $version\n" clone_output "$compiler_name $version\n"
} else { } else {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment