If the WOLFSSL_NO_GOOGLE_TEST env var is set, don't run the google test.

This commit is contained in:
Anthony Hu 2024-08-01 16:41:22 -04:00
parent 15e99c8eff
commit 1199d5a5a8

View File

@ -6,6 +6,11 @@ server=www.google.com
[ ! -x ./examples/client/client ] && echo -e "\n\nClient doesn't exist" && exit 1
if test -n "$WOLFSSL_NO_GOOGLE_TEST"; then
echo "WOLFSSL_NO_GOOGLE_TEST set, won't run"
exit 77
fi
if ! ./examples/client/client -V | grep -q 3; then
echo 'skipping google.test because TLS1.2 is not available.' 1>&2
exit 77