[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 1/6] tests: show logs
From: |
Akim Demaille |
Subject: |
[PATCH 1/6] tests: show logs |
Date: |
Sat, 23 May 2020 17:14:40 +0200 |
* examples/c/bistromathic/bistromathic.test, examples/test: here.
---
examples/c/bistromathic/bistromathic.test | 6 +++---
examples/test | 3 ++-
2 files changed, 5 insertions(+), 4 deletions(-)
diff --git a/examples/c/bistromathic/bistromathic.test
b/examples/c/bistromathic/bistromathic.test
index 48b30a4c..c2d3dc37 100755
--- a/examples/c/bistromathic/bistromathic.test
+++ b/examples/c/bistromathic/bistromathic.test
@@ -45,7 +45,7 @@ echo >perfect '> 0
echo >ok '0'
echo '0' | prog >effective
-echo "checking for readline output"
+echo "checking for readline output..."
if diff perfect effective; then
# Alles ist gut.
strip_prompt=false
@@ -269,8 +269,8 @@ fi
# On Windows10/MSYS2 the ^G coming from <tab> completion is not
# emitted the same way
# (https://lists.gnu.org/r/bug-bison/2020-05/msg00076.html).
-echo "checking for kernel name"
-case `uname -s` in
+echo "checking for kernel name... $(uname -s)"
+case $(uname -s) in
(MSYS*)
echo "SKIP: this is Windows/MSYS"
exit $status
diff --git a/examples/test b/examples/test
index f58eed9e..81076701 100755
--- a/examples/test
+++ b/examples/test
@@ -36,10 +36,11 @@ strip_prompt=false
# If diff supports --strip-trailing-cr, use it, to avoid EOL issues
# when testing Java programs on Windows.
-echo "checking for diff --strip-trailing-cr"
+echo "checking for diff --strip-trailing-cr..."
if diff --strip-trailing-cr "$1" "$1"; then
diff_opts=--strip-trailing-cr
fi
+echo "checking for diff --strip-trailing-cr... $diff_opts"
# The exercised program.
abs_medir=$cwd/examples/$medir
--
2.26.2
- [PATCH 0/6] Use symbol kinds in symbol actions, Akim Demaille, 2020/05/23
- [PATCH 1/6] tests: show logs,
Akim Demaille <=
- [PATCH 2/6] m4: use m4_shift2 etc., Akim Demaille, 2020/05/23
- [PATCH 3/6] m4: simplify useless quotation, Akim Demaille, 2020/05/23
- [PATCH 4/6] kinds: also define the possibly qualified symbol kinds, Akim Demaille, 2020/05/23
- [PATCH 5/6] kinds: use the symbol kinds where applicable, Akim Demaille, 2020/05/23
- [PATCH 6/6] regen, Akim Demaille, 2020/05/23