Run list-1, list-2 and list-3 only for ELF tagets.
authorH.J. Lu <hjl.tools@gmail.com>
Wed, 17 Mar 2010 23:20:41 +0000 (23:20 +0000)
committerH.J. Lu <hjl.tools@gmail.com>
Wed, 17 Mar 2010 23:20:41 +0000 (23:20 +0000)
2010-03-17  H.J. Lu  <hongjiu.lu@intel.com>

* gas/i386/i386.exp: Run list-1, list-2 and list-3 only for
ELF tagets.

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

index d6d12f256062aaa04aacb3a984f02135d0fbf0d5..dd0807e711251b75b19178af058dee5d13bd6297 100644 (file)
@@ -1,3 +1,8 @@
+2010-03-17  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * gas/i386/i386.exp: Run list-1, list-2 and list-3 only for
+       ELF tagets.
+
 2010-03-08  H.J. Lu  <hongjiu.lu@intel.com>
 
        PR gas/9966
index 5c3f620b59731f6dd81e9780a84f904a291adbd2..ead1447a2f25d365b94250dcbbae0a39f55845a5 100644 (file)
@@ -223,9 +223,11 @@ if [expr [istarget "i*86-*-*"] || [istarget "x86_64-*-*"]] then {
     run_dump_test "string-ok"
     run_list_test "string-bad" ""
     run_list_test "space1" "-al"
-    run_list_test_stdin "list-1" "-al"
-    run_list_test_stdin "list-2" "-al"
-    run_list_test_stdin "list-3" "-al"
+    if [is_elf_format] 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 "i*86-*-*"] || [istarget "x86_64-*-*"]) && [gas_64_check]] then {