aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJacob Bachmeyer <jcb@gnu.org>2021-05-20 16:35:01 -0500
committerJacob Bachmeyer <jcb@gnu.org>2021-05-20 16:35:01 -0500
commit899ee182bf624112002b470ee4055cefe1e7430b (patch)
tree6d6b1cfc120b85bf359744196099a5ba6ab33db9
parente8d08f039bfd09b513a3e68b5bd54618f0ce5cf6 (diff)
Fix spurious UNRESOLVED result when size(1) is not in PATH
-rw-r--r--ChangeLog3
-rw-r--r--lib/dejagnu.exp2
2 files changed, 4 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 24f9ce9..3434ea8 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
2021-05-20 Jacob Bachmeyer <jcb@gnu.org>
+ * 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.