From 4d3a22b44b11d1651dc2fbad14a1661507f13371 Mon Sep 17 00:00:00 2001 From: John David Anglin Date: Thu, 30 Jul 2009 23:58:47 +0000 Subject: [PATCH] options.exp: Use "!=" instead of "ne". * lib/options.exp: Use "!=" instead of "ne". From-SVN: r150283 --- gcc/testsuite/ChangeLog | 2 ++ gcc/testsuite/lib/options.exp | 8 ++++---- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 7364fedc4263..112941baa216 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,5 +1,7 @@ 2009-07-30 John David Anglin + * 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 c63fd66cc022..18359023228e 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" -- 2.47.2