diff options
author | Christian Grothoff <christian@grothoff.org> | 2024-03-31 23:49:05 +0200 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2024-03-31 23:49:05 +0200 |
commit | 7260d20d1fdc2cfeb1b5634f023aba1ed87fdae2 (patch) | |
tree | 21d59efd1ede19b41544d25bc796ed0329dc12b7 | |
parent | 6f33ba55c778c9ba7c088de8b884f150dd7e955c (diff) |
-more logging
-rwxr-xr-x | src/templating/run-original-tests.sh | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/src/templating/run-original-tests.sh b/src/templating/run-original-tests.sh index cc666fd69..f9dbe316c 100755 --- a/src/templating/run-original-tests.sh +++ b/src/templating/run-original-tests.sh @@ -1,11 +1,12 @@ #!/bin/bash # This file is in the public domain. -set -eu +set -eux export CFLAGS="-g" function build() { + echo "Ensuring clean state on exit ..." make clean make } @@ -13,6 +14,8 @@ function build() # Install rebuild-on-exit handler (except for kill -9) trap build EXIT +echo "Ensuring clean state on entry to legacy tests ..." + make clean # The build fails if libjson-c-dev is not installed. @@ -23,3 +26,7 @@ make -f mustach-original-Makefile mustach mustach-json-c.o || exit 77 make -f mustach-original-Makefile clean || true make -f mustach-original-Makefile basic-tests make -f mustach-original-Makefile clean || true + +echo "Test done" + +exit 0 |