Skip to content

Commit 01afe89

Browse files
authored
Merge pull request #7822 from anhu/WOLFSSL_NO_GOOGLE_TEST
Only run the google test if the WOLFSSL_EXTERNAL_TEST env var is set.
2 parents 15e99c8 + bd88078 commit 01afe89

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

scripts/google.test

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,11 @@ server=www.google.com
66

77
[ ! -x ./examples/client/client ] && echo -e "\n\nClient doesn't exist" && exit 1
88

9+
if ! test -n "$WOLFSSL_EXTERNAL_TEST"; then
10+
echo "WOLFSSL_EXTERNAL_TEST not set, won't run"
11+
exit 77
12+
fi
13+
914
if ! ./examples/client/client -V | grep -q 3; then
1015
echo 'skipping google.test because TLS1.2 is not available.' 1>&2
1116
exit 77

0 commit comments

Comments
 (0)