Browse Source

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.
master
Jakob Unterwurzacher 10 months ago
parent
commit
c974116322
  1. 5
      test.bash

5
test.bash

@ -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

Loading…
Cancel
Save