summaryrefslogtreecommitdiff
path: root/src/templating
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2024-04-01 12:20:17 +0200
committerChristian Grothoff <christian@grothoff.org>2024-04-01 12:20:17 +0200
commitd9ca9ee7b1284dce5b1af9aa8422155da53a5585 (patch)
tree1139b5002f870a1c5c3170fdfb46a6c14a4b9e67 /src/templating
parent38efe73a3f0292f50369e215f4f2197d08d6125c (diff)
downloadexchange-d9ca9ee7b1284dce5b1af9aa8422155da53a5585.tar.gz
exchange-d9ca9ee7b1284dce5b1af9aa8422155da53a5585.tar.bz2
exchange-d9ca9ee7b1284dce5b1af9aa8422155da53a5585.zip
run original tests outside of 'make check':
Diffstat (limited to 'src/templating')
-rw-r--r--src/templating/Makefile.am5
-rwxr-xr-xsrc/templating/run-original-tests.sh10
2 files changed, 4 insertions, 11 deletions
diff --git a/src/templating/Makefile.am b/src/templating/Makefile.am
index 8371045cb..713a885c5 100644
--- a/src/templating/Makefile.am
+++ b/src/templating/Makefile.am
@@ -62,10 +62,7 @@ test_mustach_jansson_LDADD = \
check_PROGRAMS = \
test_mustach_jansson
-check_SCRIPTS = \
- run-original-tests.sh
-
-TESTS = $(check_SCRIPTS) $(check_PROGRAMS)
+TESTS = $(check_PROGRAMS)
EXTRA_DIST = \
$(check_SCRIPTS) \
diff --git a/src/templating/run-original-tests.sh b/src/templating/run-original-tests.sh
index 8df0331fb..05b57ffd6 100755
--- a/src/templating/run-original-tests.sh
+++ b/src/templating/run-original-tests.sh
@@ -6,17 +6,15 @@ export CFLAGS="-g"
function build()
{
- echo "Ensuring clean state on exit ..."
- make clean-libLTLIBRARIES clean-libtool clean-noinstLTLIBRARIES clean-noinstPROGRAMS mostlyclean-compile mostlyclean-libtool
+ make clean
make
}
# Install rebuild-on-exit handler (except for kill -9)
trap build EXIT
-echo "Ensuring clean state on entry to legacy tests ..."
-
-make clean-libLTLIBRARIES clean-libtool clean-noinstLTLIBRARIES clean-noinstPROGRAMS mostlyclean-compile mostlyclean-libtool
+echo "Ensuring clean state on entry to upstream tests ..."
+make clean
# The build fails if libjson-c-dev is not installed.
# That's OK, we don't otherwise need it and don't
@@ -27,6 +25,4 @@ 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