You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by jo...@apache.org on 2020/01/06 11:52:49 UTC
svn commit: r1872373 - in /httpd/httpd/trunk: .travis.yml
test/travis_run_linux.sh
Author: jorton
Date: Mon Jan 6 11:52:48 2020
New Revision: 1872373
URL: http://svn.apache.org/viewvc?rev=1872373&view=rev
Log:
Add Travis job which runs tests in random order.
Github: closes #86
Modified:
httpd/httpd/trunk/.travis.yml
httpd/httpd/trunk/test/travis_run_linux.sh
Modified: httpd/httpd/trunk/.travis.yml
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/.travis.yml?rev=1872373&r1=1872372&r2=1872373&view=diff
==============================================================================
--- httpd/httpd/trunk/.travis.yml (original)
+++ httpd/httpd/trunk/.travis.yml Mon Jan 6 11:52:48 2020
@@ -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"
# -------------------------------------------------------------------------
Modified: httpd/httpd/trunk/test/travis_run_linux.sh
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/test/travis_run_linux.sh?rev=1872373&r1=1872372&r2=1872373&view=diff
==============================================================================
--- httpd/httpd/trunk/test/travis_run_linux.sh (original)
+++ httpd/httpd/trunk/test/travis_run_linux.sh Mon Jan 6 11:52:48 2020
@@ -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