run-original-tests.sh (565B)
1 #!/bin/bash 2 # This file is in the public domain. 3 set -eux 4 5 export CFLAGS="-g" 6 7 echo "Ensuring clean state on entry to upstream tests ..." 8 make clean 9 10 # The build fails if libjson-c-dev is not installed. 11 # That's OK, we don't otherwise need it and don't 12 # even bother testing for it in configure.ac. 13 # However, in that case, skip the test suite. 14 make -f mustach-original-Makefile mustach mustach-json-c.o || exit 77 15 make -f mustach-original-Makefile clean || true 16 make -f mustach-original-Makefile basic-tests 17 make -f mustach-original-Makefile clean || true 18 19 exit 0