test.bash: call out if build-without-openssl.bash failed

This can print out compile errors that are hard to understand
if you are not aware that it builds without_openssl.
This commit is contained in:
Jakob Unterwurzacher 2021-09-10 12:09:30 +02:00
parent c50d67f103
commit c974116322

View File

@ -39,7 +39,10 @@ fi
# Clean up dangling filesystems and don't exit if we found some # Clean up dangling filesystems and don't exit if we found some
unmount_leftovers || true unmount_leftovers || true
./build-without-openssl.bash ./build-without-openssl.bash || {
echo "$MYNAME: build-without-openssl.bash failed"
exit 1
}
# Don't build with openssl if we were passed "-tags without_openssl" # Don't build with openssl if we were passed "-tags without_openssl"
if [[ "$*" != *without_openssl* ]] ; then if [[ "$*" != *without_openssl* ]] ; then
./build.bash ./build.bash