aboutsummaryrefslogtreecommitdiff
path: root/src/templating/run-original-tests.sh
diff options
context:
space:
mode:
Diffstat (limited to 'src/templating/run-original-tests.sh')
-rwxr-xr-xsrc/templating/run-original-tests.sh10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/templating/run-original-tests.sh b/src/templating/run-original-tests.sh
new file mode 100755
index 000000000..9c7d34cdd
--- /dev/null
+++ b/src/templating/run-original-tests.sh
@@ -0,0 +1,10 @@
+#!/bin/bash
+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.
+
+make -f Makefile.orig mustach || exit 77
+make -f Makefile.orig test
+make -f Makefile.orig clean || true