diff options
author | Joe Orton <jorton@apache.org> | 2020-01-06 12:52:48 +0100 |
---|---|---|
committer | Joe Orton <jorton@apache.org> | 2020-01-06 12:52:48 +0100 |
commit | 0bd4a3d88cbaa8d1d58c509f8506ecbdaa402982 (patch) | |
tree | ee502c9b958de510314c55b109c9dc57aab70d87 | |
parent | Cache SVN checkout of test/framework across Travis builds. Should (diff) | |
download | apache2-0bd4a3d88cbaa8d1d58c509f8506ecbdaa402982.tar.xz apache2-0bd4a3d88cbaa8d1d58c509f8506ecbdaa402982.zip |
Add Travis job which runs tests in random order.
Github: closes #86
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1872373 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r-- | .travis.yml | 4 | ||||
-rwxr-xr-x | test/travis_run_linux.sh | 4 |
2 files changed, 6 insertions, 2 deletions
diff --git a/.travis.yml b/.travis.yml index 70c6e21b0b..acb49cb66d 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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" # ------------------------------------------------------------------------- diff --git a/test/travis_run_linux.sh b/test/travis_run_linux.sh index db2917e025..6a5d0cb251 100755 --- a/test/travis_run_linux.sh +++ b/test/travis_run_linux.sh @@ -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 |