]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
Add Travis job running the litmus WebDAV test suite.
authorJoe Orton <jorton@apache.org>
Fri, 10 Jan 2020 10:20:07 +0000 (10:20 +0000)
committerJoe Orton <jorton@apache.org>
Fri, 10 Jan 2020 10:20:07 +0000 (10:20 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1872588 13f79535-47bb-0310-9956-ffa450edef68

.travis.yml
test/travis_run_linux.sh

index da8e4924f49ea5a4bcb8ae7bf1005d742729ae3a..38c51edacb88fddae9aac004e8b7539d83514db7 100644 (file)
@@ -136,6 +136,29 @@ matrix:
            APU_CONFIG="--with-crypto"
            CONFIG="--enable-mods-shared=reallyall"
     # -------------------------------------------------------------------------
+    - name: Linux Ubuntu, litmus WebDAV tests
+      env: CONFIG="--enable-dav --enable-dav-fs"
+           LITMUS=1 TEST_ARGS="t/modules/dav.t"
+      addons:
+        apt:
+          update: false
+          sources:
+            - sourceline: 'deb http://archive.ubuntu.com/ubuntu $(lsb_release -sc) universe'
+          packages:
+            - cpanminus
+            - libtool-bin
+            - libapr1-dev
+            - libaprutil1-dev
+            - perl-doc
+            - lua5.3-dev
+            - libbrotli-dev
+            - libcurl4-openssl-dev
+            - libsystemd-dev
+            - libnghttp2-dev
+            - libjansson-dev
+            - libpcre2-dev
+            - litmus
+    # -------------------------------------------------------------------------
     - if: branch = 2.4.x
       name: Linux Ubuntu, APR 1.5.1, APR-util 1.5.4
       env: APR_VERSION=1.5.1 APU_VERSION=1.5.4
index 6a5d0cb2510dbe7a7b3a610ba19ac4d3b5d42f30..90ac2c81389944d3dd4582cc3920443d38f6c308 100755 (executable)
@@ -30,8 +30,17 @@ if ! test -v SKIP_TESTING; then
         make check TESTS="${TEST_ARGS}"
     else
         make install
-        cd test/perl-framework
-        perl Makefile.PL -apxs $HOME/build/httpd-root/bin/apxs
-        make test APACHE_TEST_EXTRA_ARGS="${TEST_ARGS}"
+        pushd test/perl-framework
+            perl Makefile.PL -apxs $HOME/build/httpd-root/bin/apxs
+            make test APACHE_TEST_EXTRA_ARGS="${TEST_ARGS}"
+        popd
+    fi
+    if test -v LITMUS; then
+        pushd test/perl-framework
+           mkdir -p t/htdocs/modules/dav
+           ./t/TEST -start
+           litmus http://localhost:8529/modules/dav/
+           ./t/TEST -stop
+        popd
     fi
 fi