Catching GMP test failures
matthew at linuxfromscratch.org
Thu Feb 9 12:16:26 PST 2012
Currently, jhalfs copies the exact command for invoking GMP's tests:
make check 2>&1 | tee gmp-check-log >> $TEST_LOG 2>&1
The problem with this is that the exit status of 'make check' is lost;
the exit status of 'tee' is what will cause the script to fail or not,
and that's pretty much never going to fail to run.
The attached patch changes the command to:
make check 2>&1 | tee gmp-check-log >> $TEST_LOG 2>&1 && exit
I'm doing a full build now to test it, but it at least generates what I
think is the correct command line.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 779 bytes
Desc: not available
More information about the alfs-discuss