diff options
author | Stefan Eissing <icing@apache.org> | 2021-12-01 09:50:33 +0000 |
---|---|---|
committer | Stefan Eissing <icing@apache.org> | 2021-12-01 09:50:33 +0000 |
commit | ff004f286d8a1f3e30e9065c2e04dae90952e61e (patch) | |
tree | b6231dc5630e7ec7aa914b4bcd6f3c7c30c91557 /test/travis_run_linux.sh | |
parent | 0d3b3abf47028804d53d7130fc1490aac4efe226 (diff) | |
download | httpd-ff004f286d8a1f3e30e9065c2e04dae90952e61e.tar.gz |
* test suite: add an image to test mod_tls on travis
Let's see what the hamsters think of the setup I use
on a local docker focal.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1895451 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'test/travis_run_linux.sh')
-rwxr-xr-x | test/travis_run_linux.sh | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/test/travis_run_linux.sh b/test/travis_run_linux.sh index 58a249d4b0..a36f85bc62 100755 --- a/test/travis_run_linux.sh +++ b/test/travis_run_linux.sh @@ -51,6 +51,20 @@ else CONFIG="$CONFIG --with-apr-util=/usr" fi +# Since librustls is not a package (yet) on any platform, we +# build the version we want from source +if test -v TEST_MOD_TLS; then + RUSTLS_HOME="$HOME/build/rustls-ffi" + RUSTLS_VERSION="v0.8.2" + git clone https://github.com/rustls/rustls-ffi.git "$RUSTLS_HOME" + pushd "$RUSTLS_HOME" + git fetch origin + git checkout tags/$RUSTLS_VERSION + make install + popd + CONFIG="$CONFIG --with-tls" +fi + srcdir=$PWD if test -v TEST_VPATH; then @@ -195,6 +209,14 @@ if ! test -v SKIP_TESTING; then RV=$? fi + if test -v TEST_MOD_TLS -a $RV -eq 0; then + # Run mod_tls tests. The underlying librustls was build + # and installed before we configured the server (see top of file). + # This will be replaved once librustls is available as a package. + py.test-3 test/modules/tls + RV=$? + fi + # Catch cases where abort()s get logged to stderr by libraries but # only cause child processes to terminate e.g. during shutdown, # which may not otherwise trigger test failures. |