Problem: ci_build.sh make check is overly complex

Solution: simply run make VERBOSE=1 check instead of manually
checking for return value and cat'ing the log file. With VERBOSE, on
error the log file will be automatically printed.
This commit is contained in:
Luca Boccassi 2016-03-06 18:04:12 +00:00
parent 4366d7edf9
commit ff1ebf6ff0

View File

@ -28,7 +28,7 @@ if [ $BUILD_TYPE == "default" ]; then
./autogen.sh &&
./configure "${CONFIG_OPTS[@]}" &&
make &&
( if make check; then true; else cat test-suite.log; exit 1; fi ) &&
make VERBOSE=1 check &&
make install
) || exit 1
else