void-packages/srcpkgs/maxima/patches/check-output.patch
Gonzalo Tornaría 288b9d770c maxima: update to 5.45.1. Also:
- add rlwrap to depends so rmaxima (readline cli) works.
- add gnuplot to checkdepends, fixes 2 failing tests.
- add patch to allow more rounding, fixes 2 failing tests on musl.
- add rmaxima.1 and xmaxima.1 man pages as symlinks to maxima.1.
- do not compress info files, since they are used for in-program help
  and it doesn't work when they are compressed.
- add patch to copy test output to stdout, since it's too silent
  otherwise.
2021-10-08 11:24:10 -03:00

14 lines
375 B
Diff

Copy test output to stdout in addition to $log_file
--- a/test-driver 2021-10-04 00:20:29.356330263 -0300
+++ b/test-driver 2021-10-04 00:19:56.144741073 -0300
@@ -92,7 +92,7 @@
trap "st=143; $do_exit" 15
# Test script is run here.
-"$@" >$log_file 2>&1
+"$@" 2>&1 | tee $log_file
estatus=$?
if test $enable_hard_errors = no && test $estatus -eq 99; then
estatus=1