[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[taler-exchange] branch master updated: make mustach test suite more rob
From: |
gnunet |
Subject: |
[taler-exchange] branch master updated: make mustach test suite more robust |
Date: |
Mon, 18 Mar 2024 23:31:05 +0100 |
This is an automated email from the git hooks/post-receive script.
grothoff pushed a commit to branch master
in repository exchange.
The following commit(s) were added to refs/heads/master by this push:
new f2d4ef79 make mustach test suite more robust
f2d4ef79 is described below
commit f2d4ef798e68f1bf6ae0e158c6ccc13feeadbc33
Author: Christian Grothoff <christian@grothoff.org>
AuthorDate: Mon Mar 18 23:31:02 2024 +0100
make mustach test suite more robust
---
src/templating/run-original-tests.sh | 21 +++++++++++++++------
1 file changed, 15 insertions(+), 6 deletions(-)
diff --git a/src/templating/run-original-tests.sh
b/src/templating/run-original-tests.sh
index 09420c4e..289ae871 100755
--- a/src/templating/run-original-tests.sh
+++ b/src/templating/run-original-tests.sh
@@ -1,16 +1,25 @@
#!/bin/bash
+# This file is in the public domain.
set -eu
-# The build fails if libjson-c-dev is not installed.
-# That's OK, we don't otherwise need it and don't
-# even bother testing for it in configure.ac.
-# However, in that case, skip the test suite.
export CFLAGS="-g"
+function build()
+{
+ make clean
+ make
+}
+
+# Install rebuild-on-exit handler (except for kill -9)
+trap build EXIT
+
make clean
+
+# The build fails if libjson-c-dev is not installed.
+# That's OK, we don't otherwise need it and don't
+# even bother testing for it in configure.ac.
+# However, in that case, skip the test suite.
make -f mustach-original-Makefile mustach || exit 77
make -f mustach-original-Makefile clean || true
make -f mustach-original-Makefile basic-tests
make -f mustach-original-Makefile clean || true
-make clean
-make
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [taler-exchange] branch master updated: make mustach test suite more robust,
gnunet <=