Commit e56b4867 authored by Pieter Hintjens's avatar Pieter Hintjens

Merge pull request #1650 from c-rack/show-log-on-build-error

Solution: print test-suite.log if "make check" fails
parents 782fbe5b dfaa92cd
...@@ -21,7 +21,13 @@ if [ $BUILD_TYPE == "default" ]; then ...@@ -21,7 +21,13 @@ if [ $BUILD_TYPE == "default" ]; then
( cd libsodium; ./autogen.sh; ./configure --prefix=$BUILD_PREFIX; make check; make install) ( cd libsodium; ./autogen.sh; ./configure --prefix=$BUILD_PREFIX; make check; make install)
# Build and check this project # Build and check this project
(./autogen.sh && ./configure "${CONFIG_OPTS[@]}" --with-libsodium=yes && make && make check && make install) || exit 1 (
./autogen.sh &&
./configure "${CONFIG_OPTS[@]}" --with-libsodium=yes &&
make &&
( if make check; then true; else cat test-suite.log; exit 1; fi ) &&
make install
) || exit 1
else else
cd ./builds/${BUILD_TYPE} && ./ci_build.sh cd ./builds/${BUILD_TYPE} && ./ci_build.sh
fi fi
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment