Kiyoshi KANAZAWA wrote:
From: Jacob Bachmeyer <jcb62...@gmail.com>
With CONFIG_SHELL=/bin/sh, does the testsuite complete successfully?

Yes, "make -k check" returns 0 with saying as follows.

This patch (from commit da5984550f2d78388bc934016b0c3461ddc8b0a4) should fix the problem, or at least ensure that an error is produced immediately if config.guess does not work. It will be included in release candidate 5.

8<------
diff --git a/runtest.exp b/runtest.exp
index d950171..0e077ae 100644
--- a/runtest.exp
+++ b/runtest.exp
@@ -862,7 +862,7 @@ if {[expr {$build_triplet eq "" && $host_triplet eq ""}]} {
           }
       }
    }
-    if { ![regexp -- {^[^-]+-[^-]+-[^-]+} $build_triplet] } {
+    if { ![regexp -- {^[[:alnum:]_.]+(-[[:alnum:]_.]+)+$} $build_triplet] } {
       send_error "ERROR: Running config.guess produced bogus build triplet:\n"
       send_error "        $build_triplet\n"
       send_error "       (Perhaps you need to set CONFIG_SHELL or\
8<------


Ignoring an unusable $SHELL remains a possible future addition.


-- Jacob



_______________________________________________
Bug-dejagnu mailing list
Bug-dejagnu@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-dejagnu

Reply via email to