exchange

Base system with REST service to issue digital coins, run by the payment service provider
Log | Files | Refs | Submodules | README | LICENSE

commit d9ca9ee7b1284dce5b1af9aa8422155da53a5585
parent 38efe73a3f0292f50369e215f4f2197d08d6125c
Author: Christian Grothoff <christian@grothoff.org>
Date:   Mon,  1 Apr 2024 12:20:17 +0200

run original tests outside of 'make check':

Diffstat:
Mcontrib/ci/jobs/2-test/test.sh | 3+++
Msrc/templating/Makefile.am | 5+----
Msrc/templating/run-original-tests.sh | 10+++-------
3 files changed, 7 insertions(+), 11 deletions(-)

diff --git a/contrib/ci/jobs/2-test/test.sh b/contrib/ci/jobs/2-test/test.sh @@ -11,6 +11,9 @@ apt-get upgrade -yqq nump=$(grep processor /proc/cpuinfo | wc -l) make clean +cd src/templating/ +./run-original-tests.sh +cd - make -j$(( $nump / 2 )) make install diff --git 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 @@ -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