OSDN Git Service

* lib/options.exp: Use "!=" instead of "ne".
authordanglin <danglin@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 30 Jul 2009 23:58:47 +0000 (23:58 +0000)
committerdanglin <danglin@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 30 Jul 2009 23:58:47 +0000 (23:58 +0000)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@150283 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/testsuite/ChangeLog
gcc/testsuite/lib/options.exp

index 7364fed..112941b 100644 (file)
@@ -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).
index c63fd66..1835902 100644 (file)
@@ -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"