From 4f9adf8949862e2ba8e36afbd4c0efc2e2117798 Mon Sep 17 00:00:00 2001 From: "H.J. Lu" Date: Wed, 17 Mar 2010 23:20:41 +0000 Subject: [PATCH] Run list-1, list-2 and list-3 only for ELF tagets. 2010-03-17 H.J. Lu * gas/i386/i386.exp: Run list-1, list-2 and list-3 only for ELF tagets. --- gas/testsuite/ChangeLog | 5 +++++ gas/testsuite/gas/i386/i386.exp | 8 +++++--- 2 files changed, 10 insertions(+), 3 deletions(-) diff --git a/gas/testsuite/ChangeLog b/gas/testsuite/ChangeLog index d6d12f25606..dd0807e7112 100644 --- a/gas/testsuite/ChangeLog +++ b/gas/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2010-03-17 H.J. Lu + + * gas/i386/i386.exp: Run list-1, list-2 and list-3 only for + ELF tagets. + 2010-03-08 H.J. Lu PR gas/9966 diff --git a/gas/testsuite/gas/i386/i386.exp b/gas/testsuite/gas/i386/i386.exp index 5c3f620b597..ead1447a2f2 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 { -- 2.30.2