Commit 4d3a22b4 by John David Anglin Committed by John David Anglin

options.exp: Use "!=" instead of "ne".

	* lib/options.exp: Use "!=" instead of "ne".

From-SVN: r150283
parent cb5c784d
2009-07-30 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> 2009-07-30 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
* lib/options.exp: Use "!=" instead of "ne".
* gcc.dg/vector-4.c: Add -fno-common option on hppa*-*-hpux* (32-bit). * gcc.dg/vector-4.c: Add -fno-common option on hppa*-*-hpux* (32-bit).
* gcc.dg/ucnid-11.c: Skip on hppa*-*-hpux* (32-bit). * gcc.dg/ucnid-11.c: Skip on hppa*-*-hpux* (32-bit).
......
...@@ -41,11 +41,11 @@ proc check_for_options {language gcc_options compiler_patterns compiler_non_patt ...@@ -41,11 +41,11 @@ proc check_for_options {language gcc_options compiler_patterns compiler_non_patt
remote_file build delete $filename.c $filename.x $filename.gcno remote_file build delete $filename.c $filename.x $filename.gcno
foreach pattern [split $compiler_patterns "\n"] { foreach pattern [split $compiler_patterns "\n"] {
if {$pattern ne ""} { if {$pattern != ""} {
if {[regexp -- "$pattern" $gcc_output]} { if {[regexp -- "$pattern" $gcc_output]} {
pass "$test $pattern" pass "$test $pattern"
} else { } else {
if {$expected_failure ne ""} { if {$expected_failure != ""} {
xfail "$test $pattern" xfail "$test $pattern"
} else { } else {
fail "$test $pattern" fail "$test $pattern"
...@@ -54,11 +54,11 @@ proc check_for_options {language gcc_options compiler_patterns compiler_non_patt ...@@ -54,11 +54,11 @@ proc check_for_options {language gcc_options compiler_patterns compiler_non_patt
} }
} }
foreach pattern [split $compiler_non_patterns "\n"] { foreach pattern [split $compiler_non_patterns "\n"] {
if {$pattern ne ""} { if {$pattern != ""} {
if {![regexp -- "$pattern" $gcc_output]} { if {![regexp -- "$pattern" $gcc_output]} {
pass "$test $pattern" pass "$test $pattern"
} else { } else {
if {$expected_failure ne ""} { if {$expected_failure != ""} {
xfail "$test $pattern" xfail "$test $pattern"
} else { } else {
fail "$test $pattern" fail "$test $pattern"
......
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