diff options
author | Stefan Eissing <icing@apache.org> | 2021-11-08 14:40:44 +0000 |
---|---|---|
committer | Stefan Eissing <icing@apache.org> | 2021-11-08 14:40:44 +0000 |
commit | 9c9fb22508d50b781928b4d2c47033da40859858 (patch) | |
tree | 7fe2bdd3e7a647f95a878a632baca2ca65ca177c /test/travis_run_linux.sh | |
parent | 0ecb9153ce1bb0159642efa70c9c3f80b5cd7d24 (diff) | |
download | httpd-9c9fb22508d50b781928b4d2c47033da40859858.tar.gz |
* test HTTP/2: also run core tests and worker mpm
* test/README.pytest on how to use pytest suite and
add test cases.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1894835 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'test/travis_run_linux.sh')
-rwxr-xr-x | test/travis_run_linux.sh | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/test/travis_run_linux.sh b/test/travis_run_linux.sh index 9a7a3aec7c..58a249d4b0 100755 --- a/test/travis_run_linux.sh +++ b/test/travis_run_linux.sh @@ -159,10 +159,20 @@ if ! test -v SKIP_TESTING; then grep -v ':\(debug\|trace[12345678]\)\]' test/perl-framework/t/logs/error_log fi + if test -v TEST_CORE -a $RV -eq 0; then + # Run HTTP/2 tests. + MPM=event py.test-3 test/modules/core + RV=$? + fi + if test -v TEST_H2 -a $RV -eq 0; then # Run HTTP/2 tests. - py.test-3 test/modules/http2 + MPM=event py.test-3 test/modules/http2 RV=$? + if test $RV -eq 0; then + MPM=worker py.test-3 test/modules/http2 + RV=$? + fi fi if test -v TEST_MD -a $RV -eq 0; then |