[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 6/7] check-guile.in: exit 2 on errors and direct output to stderr
From: |
Rob Browning |
Subject: |
[PATCH 6/7] check-guile.in: exit 2 on errors and direct output to stderr |
Date: |
Fri, 25 Aug 2023 18:17:35 -0500 |
Return 2 rather than 1 for errors so that 1 will be available for any
future boolean tests (as with say grep).
Direct error message to stderr rather than stdout.
---
check-guile.in | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/check-guile.in b/check-guile.in
index 09d95a03c..31bdce340 100644
--- a/check-guile.in
+++ b/check-guile.in
@@ -29,8 +29,8 @@ if [ -f "$guile" -a -x "$guile" ] ; then
echo "Testing $guile ..." "$@"
echo "with GUILE_LOAD_PATH=$GUILE_LOAD_PATH"
else
- echo "ERROR: Cannot execute $guile"
- exit 1
+ echo "ERROR: Cannot execute $guile" 1>&2
+ exit 2
fi
# documentation searching ignores GUILE_LOAD_PATH.
--
2.39.2
- [PATCH 0/7] Allow tests to run in parallel, Rob Browning, 2023/08/25
- [PATCH 3/7] guile-test: set declarative #f to eliminate warning, Rob Browning, 2023/08/25
- [PATCH 2/7] interp.test: add missing (test-suite lib) dependency, Rob Browning, 2023/08/25
- [PATCH 1/7] srfi-10.test: add missing (test-suite lib) dependency, Rob Browning, 2023/08/25
- [PATCH 6/7] check-guile.in: exit 2 on errors and direct output to stderr,
Rob Browning <=
- [PATCH 4/7] guile-test: support automake parallel test harness via --trs-file, Rob Browning, 2023/08/25
- [PATCH 7/7] Switch to the preferred parallel automake test harness, Rob Browning, 2023/08/25
- [PATCH 5/7] check-guile.in: improve quoting (e.g. paths with spaces), Rob Browning, 2023/08/25