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
1 changed files with 4 additions and 1 deletions

View File

@ -39,7 +39,10 @@ fi
# Clean up dangling filesystems and don't exit if we found some
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"
if [[ "$*" != *without_openssl* ]] ; then
./build.bash