* lib/gas-defs.exp (run_dump_test): If the program to run does not
authorIan Lance Taylor <ian@airs.com>
Wed, 16 Aug 1995 21:13:52 +0000 (21:13 +0000)
committerIan Lance Taylor <ian@airs.com>
Wed, 16 Aug 1995 21:13:52 +0000 (21:13 +0000)
        exist, mark the test as untested.

gas/testsuite/ChangeLog
gas/testsuite/lib/gas-defs.exp

index 912aa14..2947cca 100644 (file)
@@ -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.
 
index d83b282..4a8cd7b 100644 (file)
@@ -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" } {