]> gcc.gnu.org Git - gcc.git/commitdiff
options.exp: Use "!=" instead of "ne".
authorJohn David Anglin <dave.anglin@nrc-cnrc.gc.ca>
Thu, 30 Jul 2009 23:58:47 +0000 (23:58 +0000)
committerJohn David Anglin <danglin@gcc.gnu.org>
Thu, 30 Jul 2009 23:58:47 +0000 (23:58 +0000)
* lib/options.exp: Use "!=" instead of "ne".

From-SVN: r150283

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

index 7364fedc42635c43c18f289b30dae3149f65c9c2..112941baa2162630b7fe5041403b7502d126398d 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 c63fd66cc022b38d111765e8411385f4aab8bc51..18359023228e6c41102394461cf973548b4440dd 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"
This page took 0.088803 seconds and 5 git commands to generate.