aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn David Anglin <dave.anglin@nrc-cnrc.gc.ca>2009-07-30 23:58:47 +0000
committerJohn David Anglin <danglin@gcc.gnu.org>2009-07-30 23:58:47 +0000
commit4d3a22b44b11d1651dc2fbad14a1661507f13371 (patch)
treee161facee41a06137d3010bbfb4bb102d9e942ec
parentcb5c784dcfce285d74a3d6c22d4e398b240e49f3 (diff)
downloadgcc-4d3a22b44b11d1651dc2fbad14a1661507f13371.zip
gcc-4d3a22b44b11d1651dc2fbad14a1661507f13371.tar.gz
gcc-4d3a22b44b11d1651dc2fbad14a1661507f13371.tar.bz2
options.exp: Use "!=" instead of "ne".
* lib/options.exp: Use "!=" instead of "ne". From-SVN: r150283
-rw-r--r--gcc/testsuite/ChangeLog2
-rw-r--r--gcc/testsuite/lib/options.exp8
2 files changed, 6 insertions, 4 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog
index 7364fed..112941b 100644
--- a/gcc/testsuite/ChangeLog
+++ b/gcc/testsuite/ChangeLog
@@ -1,5 +1,7 @@
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/ucnid-11.c: Skip on hppa*-*-hpux* (32-bit).
diff --git a/gcc/testsuite/lib/options.exp b/gcc/testsuite/lib/options.exp
index c63fd66..1835902 100644
--- a/gcc/testsuite/lib/options.exp
+++ b/gcc/testsuite/lib/options.exp
@@ -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
foreach pattern [split $compiler_patterns "\n"] {
- if {$pattern ne ""} {
+ if {$pattern != ""} {
if {[regexp -- "$pattern" $gcc_output]} {
pass "$test $pattern"
} else {
- if {$expected_failure ne ""} {
+ if {$expected_failure != ""} {
xfail "$test $pattern"
} else {
fail "$test $pattern"
@@ -54,11 +54,11 @@ proc check_for_options {language gcc_options compiler_patterns compiler_non_patt
}
}
foreach pattern [split $compiler_non_patterns "\n"] {
- if {$pattern ne ""} {
+ if {$pattern != ""} {
if {![regexp -- "$pattern" $gcc_output]} {
pass "$test $pattern"
} else {
- if {$expected_failure ne ""} {
+ if {$expected_failure != ""} {
xfail "$test $pattern"
} else {
fail "$test $pattern"