* gas/i386/i386.exp (dw2-compress-1): Only run on ELF targets.
authorAlan Modra <amodra@gmail.com>
Mon, 2 Aug 2010 08:38:45 +0000 (08:38 +0000)
committerAlan Modra <amodra@gmail.com>
Mon, 2 Aug 2010 08:38:45 +0000 (08:38 +0000)
(dw2-compress-2, x86-64-dw2-compress-2): Remove unnecessary linux
target test.

gas/testsuite/ChangeLog
gas/testsuite/gas/i386/i386.exp

index 7e27b94..4cae3f9 100644 (file)
@@ -1,5 +1,11 @@
 2010-08-02  Alan Modra  <amodra@gmail.com>
 
+       * gas/i386/i386.exp (dw2-compress-1): Only run on ELF targets.
+       (dw2-compress-2, x86-64-dw2-compress-2): Remove unnecessary linux
+       target test.
+
+2010-08-02  Alan Modra  <amodra@gmail.com>
+
        * gas/ppc/power4.d: Update for ppc_fix_adjustable change.
 
 2010-07-28  H.J. Lu  <hongjiu.lu@intel.com>
index a27a194..8b36d9d 100644 (file)
@@ -214,10 +214,8 @@ if [expr ([istarget "i*86-*-*"] ||  [istarget "x86_64-*-*"]) && [gas_32_check]]
        run_dump_test "localpic"
        run_dump_test "debug1"
 
-       if [expr [istarget "*-*-linux*"]] then {
-           setup_xfail "*-*-linux*"
-           run_dump_test "dw2-compress-2"
-       }
+       setup_xfail "*-*-*"
+       run_dump_test "dw2-compress-2"
     }
 
     # This is a PE specific test.
@@ -240,8 +238,6 @@ if [expr [istarget "i*86-*-*"] || [istarget "x86_64-*-*"]] then {
        run_list_test_stdin "list-1" "-al"
        run_list_test_stdin "list-2" "-al"
        run_list_test_stdin "list-3" "-al"
-    }
-    if [expr [istarget "*-*-linux*"]] then {
        run_dump_test "dw2-compress-1"
     }
 }
@@ -407,10 +403,8 @@ if [expr ([istarget "i*86-*-*"] || [istarget "x86_64-*-*"]) && [gas_64_check]] t
        run_dump_test "x86-64-localpic"
        run_dump_test "debug1"
 
-       if [istarget "*-*-linux*"] then {
-           setup_xfail "*-*-linux*"
-           run_dump_test "x86-64-dw2-compress-2"
-       }
+       setup_xfail "*-*-*"
+       run_dump_test "x86-64-dw2-compress-2"
     }
 
     set ASFLAGS "$old_ASFLAGS"