From: Joe Orton Date: Mon, 6 Jan 2020 11:52:48 +0000 (+0000) Subject: Add Travis job which runs tests in random order. X-Git-Tag: 2.5.0-alpha2-ci-test-only~1721 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0bd4a3d88cbaa8d1d58c509f8506ecbdaa402982;p=thirdparty%2Fapache%2Fhttpd.git 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 --- diff --git a/.travis.yml b/.travis.yml index 70c6e21b0b1..acb49cb66d7 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 db2917e0257..6a5d0cb2510 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