OSDN Git Service

* defeat aggressive/early error detection
authorfche <fche>
Fri, 24 Aug 2001 16:09:46 +0000 (16:09 +0000)
committerfche <fche>
Fri, 24 Aug 2001 16:09:46 +0000 (16:09 +0000)
2001-08-24  Frank Ch. Eigler  <fche@redhat.com>

        * baseboards/basic-sid.exp (find_sid_conf): Tolerate not finding
        path to pregen configuration file.

dejagnu/ChangeLog
dejagnu/baseboards/basic-sid.exp

index 7d55652..1740c63 100644 (file)
@@ -1,3 +1,8 @@
+2001-08-24  Frank Ch. Eigler  <fche@redhat.com>
+
+       * baseboards/basic-sid.exp (find_sid_conf): Tolerate not finding
+       path to pregen configuration file.
+
 2001-07-17  Jason Merrill  <jason_merrill@redhat.com>
 
        * lib/utils.exp (runtest_file_p): An argument can match trailing
index 61a4bda..290c6f4 100644 (file)
@@ -27,8 +27,7 @@ proc find_sid_conf { config } {
     global srcdir
 
     set try [lookfor_file ${srcdir} sid/bsp/pregen/${config}.conf]
-    if { $try == "" } { error "No ${config}.conf available." }
-    return $try
+    if { $try == "" } then { return ${config}.conf } else { return $try }
 }
 
 # find_rawsid -- find a usable SID simulator.