From 899ee182bf624112002b470ee4055cefe1e7430b Mon Sep 17 00:00:00 2001 From: Jacob Bachmeyer Date: Thu, 20 May 2021 16:35:01 -0500 Subject: [PATCH] Fix spurious UNRESOLVED result when size(1) is not in PATH --- ChangeLog | 3 +++ lib/dejagnu.exp | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 24f9ce9..3434ea8 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,8 @@ 2021-05-20 Jacob Bachmeyer + * lib/dejagnu.exp: Avoid reporting next test as UNRESOLVED when + reporting error due to missing size(1) while loading file. + * testsuite/lib/runtest.exp (runtest_copy_nested_testsuite_log): New procedure. Dumps log from nested run into main test log. diff --git a/lib/dejagnu.exp b/lib/dejagnu.exp index 7b2e5c4..3fdca76 100644 --- a/lib/dejagnu.exp +++ b/lib/dejagnu.exp @@ -23,7 +23,7 @@ set text "\[- A-Za-z0-9\.\;\"\_\:\'\`\(\)\!\#\=\+\?\&\*<>]" set SIZE size if { [which $SIZE] == 0 } { - perror "Can't find $SIZE." + perror "Can't find $SIZE." 0 } # Get the size of the various section in OBJECT. -- 2.11.4.GIT