diff options
author | Steve Wills <swills@FreeBSD.org> | 2019-01-06 03:13:28 +0000 |
---|---|---|
committer | Steve Wills <swills@FreeBSD.org> | 2019-01-06 03:13:28 +0000 |
commit | 42f602465c8b56b6bb251e930690776032641917 (patch) | |
tree | fe6a50ea164f23871f027d1774f094831c05a077 /math/maxima/files/patch-tests_test.sh.in | |
parent | Update to version 2018i (diff) |
math/maxima: Update to 5.42.1, cleanup
While here, give maintainership to submitter
PR: 232118
Submitted by: Lorenzo Salvadore <phascolarctos@protonmail.ch>
Notes
Notes:
svn path=/head/; revision=489434
Diffstat (limited to 'math/maxima/files/patch-tests_test.sh.in')
-rw-r--r-- | math/maxima/files/patch-tests_test.sh.in | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/math/maxima/files/patch-tests_test.sh.in b/math/maxima/files/patch-tests_test.sh.in new file mode 100644 index 000000000000..cb32966bdc8b --- /dev/null +++ b/math/maxima/files/patch-tests_test.sh.in @@ -0,0 +1,31 @@ +--- tests/test.sh.in.orig 2018-10-24 11:11:22 UTC ++++ tests/test.sh.in +@@ -11,7 +11,6 @@ OUTPUT_SHARE_LOG="!OUTPUT_SHARE_LOG!" + LISP="!LISPNAME!" + + # Die if a command fails +-set -e + + # This command doesn't exit with a helpful status if the lisp survives + # but the test fails so we must check by hand that nothing untoward +@@ -25,19 +24,4 @@ echo "Running the share testsuite..." + $LOCAL_MAXIMA --lisp=$LISP --batch-string='build_info();run_testsuite(share_tests=only);' 2>&1 | tee "$OUTPUT_SHARE_LOG" + echo "Running the testsuite for the maxima core..." + $LOCAL_MAXIMA --lisp=$LISP --batch-string='build_info();load("testsuite.lisp");testsuite_files:cons("rtest_ask.mac",testsuite_files);run_testsuite();' < rtest_ask_input.mac 2>&1 | tee "$OUTPUT_LOG" +- +-grep -q 'No unexpected errors' <"$OUTPUT_LOG" +-if test $? -ne 0 ; then +- # We'll have another copy of the log from the output of this script, +- # so there's no point in leaving the greppable one lying around. +- rm "$OUTPUT_LOG" +- rm "$OUTPUT_SHARE_LOG" +- exit 1 +-fi; +- +-grep -q 'No unexpected errors' <"$OUTPUT_SHARE_LOG" +- +-# We'll have another copy of the log from the output of this script, +-# so there's no point in leaving the greppable one lying around. +-rm "$OUTPUT_LOG" +-rm "$OUTPUT_SHARE_LOG" ++exit 0 |