* 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 912aa14f53c8f02fa73b6adb1204bde9f2ccba28..2947cca466a61afa7234a724eabd59ddd71e01e8 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 d83b282d831b335b3b3325e6fad523c0a342ecae..4a8cd7b814190cc5612f707f9dc2bede1a429891 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" } {