aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEric Biggers <ebiggers@google.com>2021-09-22 11:43:36 -0700
committerEric Biggers <ebiggers@google.com>2021-09-22 11:55:11 -0700
commit283177849d3b861ed088115f210fa7d76e717b5d (patch)
tree134ebcf8a27adf6c2bfc56771a21856ec990d14c
parent2d61d505ba6b5f9f8b6eb141ac2e31714ed018c6 (diff)
downloadfsverity-utils-283177849d3b861ed088115f210fa7d76e717b5d.tar.gz
scripts/run-tests.sh: test with OpenSSL 3.0
Signed-off-by: Eric Biggers <ebiggers@google.com>
-rwxr-xr-xscripts/run-tests.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/scripts/run-tests.sh b/scripts/run-tests.sh
index 55aeaec..fb21c39 100755
--- a/scripts/run-tests.sh
+++ b/scripts/run-tests.sh
@@ -167,6 +167,11 @@ log "Build and test using OpenSSL 1.0"
$MAKE CFLAGS="-O2 -Werror" LDFLAGS="-L/usr/lib/openssl-1.0" \
CPPFLAGS="-I/usr/include/openssl-1.0" check
+log "Build and test using OpenSSL 3.0"
+OSSL3=$HOME/src/openssl/inst/usr/local
+LD_LIBRARY_PATH="$OSSL3/lib64" $MAKE CFLAGS="-O2 -Werror" \
+ LDFLAGS="-L$OSSL3/lib64" CPPFLAGS="-I$OSSL3/include" check
+
log "Build and test using -funsigned-char"
$MAKE CFLAGS="-O2 -Werror -funsigned-char" check