aboutsummaryrefslogtreecommitdiff
path: root/gas/testsuite
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2010-03-17 23:20:41 +0000
committerH.J. Lu <hjl.tools@gmail.com>2010-03-17 23:20:41 +0000
commit4f9adf8949862e2ba8e36afbd4c0efc2e2117798 (patch)
tree865a0d44a1543977bc679ff171652a0763267836 /gas/testsuite
parent15ca5b14474f67664fb09071bfa2ea1d7bc357ae (diff)
downloadgdb-4f9adf8949862e2ba8e36afbd4c0efc2e2117798.zip
gdb-4f9adf8949862e2ba8e36afbd4c0efc2e2117798.tar.gz
gdb-4f9adf8949862e2ba8e36afbd4c0efc2e2117798.tar.bz2
Run list-1, list-2 and list-3 only for ELF tagets.
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.
Diffstat (limited to 'gas/testsuite')
-rw-r--r--gas/testsuite/ChangeLog5
-rw-r--r--gas/testsuite/gas/i386/i386.exp8
2 files changed, 10 insertions, 3 deletions
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 {