Skip to content

Commit

Permalink
test.bash: call out if build-without-openssl.bash failed
Browse files Browse the repository at this point in the history
This can print out compile errors that are hard to understand
if you are not aware that it builds without_openssl.
  • Loading branch information
rfjakob committed Sep 10, 2021
1 parent c50d67f commit c974116
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion test.bash
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit c974116

Please sign in to comment.