From: Ian Lance Taylor Date: Wed, 16 Aug 1995 21:13:52 +0000 (+0000) Subject: * lib/gas-defs.exp (run_dump_test): If the program to run does not X-Git-Url: http://drtracing.org/?a=commitdiff_plain;h=a46c0ed860c455b6e0686a95d5889fe3ca10eed8;p=deliverable%2Fbinutils-gdb.git * lib/gas-defs.exp (run_dump_test): If the program to run does not exist, mark the test as untested. --- diff --git a/gas/testsuite/ChangeLog b/gas/testsuite/ChangeLog index 912aa14f53..2947cca466 100644 --- a/gas/testsuite/ChangeLog +++ b/gas/testsuite/ChangeLog @@ -1,5 +1,8 @@ Wed Aug 16 12:24:12 1995 Ian Lance Taylor + * lib/gas-defs.exp (run_dump_test): If the program to run does not + exist, mark the test as untested. + * gas/mri/mri.exp: Add setup_xfail for i960 b.out targets for common test. diff --git a/gas/testsuite/lib/gas-defs.exp b/gas/testsuite/lib/gas-defs.exp index d83b282d83..4a8cd7b814 100644 --- a/gas/testsuite/lib/gas-defs.exp +++ b/gas/testsuite/lib/gas-defs.exp @@ -266,6 +266,11 @@ proc run_dump_test { name } { return } + if { [which $binary] == 0 } { + untested $testname + return + } + if { $progopts1 == "" } { set $progopts1 "-r" } verbose "running $binary $progopts $progopts1" 3 if { $program == "objcopy" } {