aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@airs.com>1995-08-16 21:13:52 +0000
committerIan Lance Taylor <ian@airs.com>1995-08-16 21:13:52 +0000
commita46c0ed860c455b6e0686a95d5889fe3ca10eed8 (patch)
treebfcffb6b935e5f9c0966e3253906d1ee06dc9359
parentdf0d80dbedf5aa9e5543a1c7e3ca071779216f5b (diff)
downloadgdb-a46c0ed860c455b6e0686a95d5889fe3ca10eed8.zip
gdb-a46c0ed860c455b6e0686a95d5889fe3ca10eed8.tar.gz
gdb-a46c0ed860c455b6e0686a95d5889fe3ca10eed8.tar.bz2
* lib/gas-defs.exp (run_dump_test): If the program to run does not
exist, mark the test as untested.
-rw-r--r--gas/testsuite/ChangeLog3
-rw-r--r--gas/testsuite/lib/gas-defs.exp5
2 files changed, 8 insertions, 0 deletions
diff --git a/gas/testsuite/ChangeLog b/gas/testsuite/ChangeLog
index 912aa14..2947cca 100644
--- a/gas/testsuite/ChangeLog
+++ b/gas/testsuite/ChangeLog
@@ -1,5 +1,8 @@
Wed Aug 16 12:24:12 1995 Ian Lance Taylor <ian@cygnus.com>
+ * 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 d83b282..4a8cd7b 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" } {