Skip to content

Commit

Permalink
Merge pull request #7822 from anhu/WOLFSSL_NO_GOOGLE_TEST
Browse files Browse the repository at this point in the history
Only run the google test if the WOLFSSL_EXTERNAL_TEST env var is set.
  • Loading branch information
SparkiDev authored Aug 1, 2024
2 parents 15e99c8 + bd88078 commit 01afe89
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions scripts/google.test
Original file line number Diff line number Diff line change
Expand Up @@ -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_EXTERNAL_TEST"; then
echo "WOLFSSL_EXTERNAL_TEST not 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
Expand Down

0 comments on commit 01afe89

Please sign in to comment.