This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

PATCH: Run list-1, list-2 and list-3 only for ELF tagets


list-1, list-2 and list-3 tests are valid only for ELF tagets. I
checked in this patch to run them only for ELF tagets.


H.J.
---
diff --git a/gas/testsuite/ChangeLog b/gas/testsuite/ChangeLog
index d6d12f2..dd0807e 100644
--- a/gas/testsuite/ChangeLog
+++ b/gas/testsuite/ChangeLog
@@ -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
diff --git a/gas/testsuite/gas/i386/i386.exp b/gas/testsuite/gas/i386/i386.exp
index 5c3f620..ead1447 100644
--- a/gas/testsuite/gas/i386/i386.exp
+++ b/gas/testsuite/gas/i386/i386.exp
@@ -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 {


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]