]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
Add Travis job which runs tests in random order.
authorJoe Orton <jorton@apache.org>
Mon, 6 Jan 2020 11:52:48 +0000 (11:52 +0000)
committerJoe Orton <jorton@apache.org>
Mon, 6 Jan 2020 11:52:48 +0000 (11:52 +0000)
Github: closes #86

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1872373 13f79535-47bb-0310-9956-ffa450edef68

.travis.yml
test/travis_run_linux.sh

index 70c6e21b0b1e9c4180fe7e912f552dce092da275..acb49cb66d79a278951b42277f48e89fc84eb526 100644 (file)
@@ -46,6 +46,10 @@ matrix:
     - name: Linux Ubuntu, Default, all-modules
       env: CONFIG="--enable-mods-shared=reallyall"
     # -------------------------------------------------------------------------
+    - name: Linux Ubuntu, Default, all-modules, random test order
+      env: CONFIG="--enable-mods-shared=reallyall"
+           TEST_ARGS="-order=random"
+    # -------------------------------------------------------------------------
     - name: Linux Ubuntu, Prefork MPM, all-modules
       env: CONFIG="--enable-mods-shared=reallyall --with-mpm=prefork"
     # -------------------------------------------------------------------------
index db2917e025731066c90b27f2d013469e37a0d3c0..6a5d0cb2510dbe7a7b3a610ba19ac4d3b5d42f30 100755 (executable)
@@ -27,11 +27,11 @@ fi
 make $MFLAGS
 if ! test -v SKIP_TESTING; then
     if test -v WITH_TEST_SUITE; then
-        make check
+        make check TESTS="${TEST_ARGS}"
     else
         make install
         cd test/perl-framework
         perl Makefile.PL -apxs $HOME/build/httpd-root/bin/apxs
-        make test
+        make test APACHE_TEST_EXTRA_ARGS="${TEST_ARGS}"
     fi
 fi