aboutsummaryrefslogtreecommitdiff
path: root/test.bash
diff options
context:
space:
mode:
Diffstat (limited to 'test.bash')
-rwxr-xr-xtest.bash4
1 files changed, 2 insertions, 2 deletions
diff --git a/test.bash b/test.bash
index 03eb218..182cdc3 100755
--- a/test.bash
+++ b/test.bash
@@ -27,8 +27,8 @@ for i in $(mount | grep $TESTDIR | cut -f3 -d" "); do
done
./build-without-openssl.bash
-# Building with openssl is difficult on OSX, so only do it on Linux.
-if [[ $OSTYPE == linux* ]] ; then
+# Don't build with openssl if we were passed "-tags without_openssl"
+if [[ "$@" != *without_openssl* ]] ; then
./build.bash
fi