Commit 557ca192 by Jeffrey A Law Committed by Jeff Law

objc-torture.exp: Replace "77" with "Obj-C" in pattern matching strings.

        * lib/objc-torture.exp: Replace "77" with "Obj-C" in pattern
        matching strings.

From-SVN: r26030
parent 87b8bec5
Sun Mar 28 00:49:41 1999 Jeffrey A Law (law@cygnus.com)
* lib/objc-torture.exp: Replace "77" with "Obj-C" in pattern
matching strings.
Fri Mar 26 00:50:46 1999 Jeffrey A Law (law@cygnus.com) Fri Mar 26 00:50:46 1999 Jeffrey A Law (law@cygnus.com)
* gcc.c-torture/execute/990326-1.c: New test from Charles Hannum. * gcc.c-torture/execute/990326-1.c: New test from Charles Hannum.
......
...@@ -70,7 +70,7 @@ proc objc-torture-compile { src option } { ...@@ -70,7 +70,7 @@ proc objc-torture-compile { src option } {
set comp_output [objc_target_compile "$src" "$output" object $options]; set comp_output [objc_target_compile "$src" "$output" object $options];
# Set a few common compiler messages. # Set a few common compiler messages.
set fatal_signal "*77*: Internal compiler error: program*got fatal signal" set fatal_signal "*Obj-C*: Internal compiler error: program*got fatal signal"
if [string match "$fatal_signal 6" $comp_output] then { if [string match "$fatal_signal 6" $comp_output] then {
objc_fail $testcase "Got Signal 6, $option" objc_fail $testcase "Got Signal 6, $option"
...@@ -85,7 +85,7 @@ proc objc-torture-compile { src option } { ...@@ -85,7 +85,7 @@ proc objc-torture-compile { src option } {
} }
# We shouldn't get these because of -w, but just in case. # We shouldn't get these because of -w, but just in case.
if [string match "*77*:*warning:*" $comp_output] then { if [string match "*Obj-C*:*warning:*" $comp_output] then {
warning "$testcase: (with warnings) $option" warning "$testcase: (with warnings) $option"
send_log "$comp_output\n" send_log "$comp_output\n"
unresolved "$testcase, $option" unresolved "$testcase, $option"
...@@ -173,7 +173,7 @@ proc objc-torture-execute { src } { ...@@ -173,7 +173,7 @@ proc objc-torture-execute { src } {
set comp_output [objc_target_compile "$src" "$executable" executable $options]; set comp_output [objc_target_compile "$src" "$executable" executable $options];
# Set a few common compiler messages. # Set a few common compiler messages.
set fatal_signal "*77*: Internal compiler error: program*got fatal signal" set fatal_signal "*Obj-C*: Internal compiler error: program*got fatal signal"
if [string match "$fatal_signal 6" $comp_output] then { if [string match "$fatal_signal 6" $comp_output] then {
objc_fail $testcase "Got Signal 6, $option" objc_fail $testcase "Got Signal 6, $option"
...@@ -188,7 +188,7 @@ proc objc-torture-execute { src } { ...@@ -188,7 +188,7 @@ proc objc-torture-execute { src } {
} }
# We shouldn't get these because of -w, but just in case. # We shouldn't get these because of -w, but just in case.
if [string match "*77*:*warning:*" $comp_output] then { if [string match "*Obj-C*:*warning:*" $comp_output] then {
warning "$testcase: (with warnings) $option" warning "$testcase: (with warnings) $option"
send_log "$comp_output\n" send_log "$comp_output\n"
unresolved "$testcase, $option" unresolved "$testcase, $option"
......
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