commit 7260d20d1fdc2cfeb1b5634f023aba1ed87fdae2
parent 6f33ba55c778c9ba7c088de8b884f150dd7e955c
Author: Christian Grothoff <christian@grothoff.org>
Date: Sun, 31 Mar 2024 23:49:05 +0200
-more logging
Diffstat:
1 file changed, 8 insertions(+), 1 deletion(-)
diff --git 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