diff options
author | Akim Demaille <akim.demaille@gmail.com> | 2020-05-23 13:46:00 +0200 |
---|---|---|
committer | Akim Demaille <akim.demaille@gmail.com> | 2020-05-23 13:47:31 +0200 |
commit | 8e70880af1c606e600667add063dab31696b4b46 (patch) | |
tree | 29c40e19c149702d9bb3d0a64df9ecddc1b73a45 /examples | |
parent | 3fea8fade8e2fad9e5053ff79af0604c3d119994 (diff) | |
download | bison-8e70880af1c606e600667add063dab31696b4b46.tar.gz |
tests: show logs
* examples/c/bistromathic/bistromathic.test, examples/test: here.
Diffstat (limited to 'examples')
-rwxr-xr-x | examples/c/bistromathic/bistromathic.test | 6 | ||||
-rwxr-xr-x | 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 |