From a46c0ed860c455b6e0686a95d5889fe3ca10eed8 Mon Sep 17 00:00:00 2001 From: Ian Lance Taylor Date: Wed, 16 Aug 1995 21:13:52 +0000 Subject: [PATCH] * lib/gas-defs.exp (run_dump_test): If the program to run does not exist, mark the test as untested. --- gas/testsuite/ChangeLog | 3 +++ gas/testsuite/lib/gas-defs.exp | 5 +++++ 2 files changed, 8 insertions(+) diff --git a/gas/testsuite/ChangeLog b/gas/testsuite/ChangeLog index 912aa14f53c..2947cca466a 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 d83b282d831..4a8cd7b8141 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" } { -- 2.30.2