From: Ruediger Pluem Date: Thu, 23 Sep 2021 11:12:25 +0000 (+0000) Subject: * t/modules/http2.t is gone since 1893547. So do not use it any longer in X-Git-Tag: 2.5.0-alpha2-ci-test-only~789 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=505c4fcb9a3f27f3491b1e18026ee1f861785c2c;p=thirdparty%2Fapache%2Fhttpd.git * t/modules/http2.t is gone since 1893547. So do not use it any longer in HTTP/2 tests and remove the dependency on Protocol::HTTP2::Client. Update test/travis_run_linux.sh to handle NO_TEST_FRAMEWORK. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1893549 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/.travis.yml b/.travis.yml index 859489f2345..0844277d93e 100644 --- a/.travis.yml +++ b/.travis.yml @@ -271,7 +271,7 @@ jobs: env: APR_VERSION=1.7.0 APU_VERSION=1.6.1 APU_CONFIG="--with-crypto" CONFIG="--enable-mods-shared=reallyall --with-mpm=event --enable-mpms-shared=event" - TESTS="t/modules/http2.t" TEST_INSTALL=1 TEST_H2=1 + NO_TEST_FRAMEWORK=1 TEST_INSTALL=1 TEST_H2=1 addons: apt: sources: @@ -382,7 +382,7 @@ before_install: - if [ "$TRAVIS_OS_NAME" = "linux" -a ! -v SKIP_TESTING ]; then if [ -v CLEAR_CACHE ]; then rm -rf ~/perl5; fi; cpanm --local-lib=~/perl5 local::lib && eval $(perl -I ~/perl5/lib/perl5/ -Mlocal::lib); - CC=gcc cpanm --notest Net::SSL LWP::Protocol::https ExtUtils::Embed Test::More AnyEvent DateTime HTTP::DAV Protocol::HTTP2::Client FCGI AnyEvent::WebSocket::Client Apache::Test; + CC=gcc cpanm --notest Net::SSL LWP::Protocol::https ExtUtils::Embed Test::More AnyEvent DateTime HTTP::DAV FCGI AnyEvent::WebSocket::Client Apache::Test; fi before_script: diff --git a/test/travis_run_linux.sh b/test/travis_run_linux.sh index e8aea43762c..3bbe980d58e 100755 --- a/test/travis_run_linux.sh +++ b/test/travis_run_linux.sh @@ -94,22 +94,24 @@ if ! test -v SKIP_TESTING; then # Try to keep all potential coredumps from all processes sudo sysctl -w kernel.core_uses_pid=1 2>/dev/null || true - if test -v WITH_TEST_SUITE; then - make check TESTS="${TESTS}" TEST_CONFIG="${TEST_ARGS}" - RV=$? - else - test -v TEST_INSTALL || make install - pushd test/perl-framework - perl Makefile.PL -apxs $PREFIX/bin/apxs - make test APACHE_TEST_EXTRA_ARGS="${TEST_ARGS} ${TESTS}" + if ! test -v NO_TEST_FRAMEWORK; then + if test -v WITH_TEST_SUITE; then + make check TESTS="${TESTS}" TEST_CONFIG="${TEST_ARGS}" RV=$? - popd - fi + else + test -v TEST_INSTALL || make install + pushd test/perl-framework + perl Makefile.PL -apxs $PREFIX/bin/apxs + make test APACHE_TEST_EXTRA_ARGS="${TEST_ARGS} ${TESTS}" + RV=$? + popd + fi - # Skip further testing if a core dump was created during the test - # suite run above. - if test $RV -eq 0 && test -n "`ls test/perl-framework/t/core{,.*} 2>/dev/null`"; then - RV=4 + # Skip further testing if a core dump was created during the test + # suite run above. + if test $RV -eq 0 && test -n "`ls test/perl-framework/t/core{,.*} 2>/dev/null`"; then + RV=4 + fi fi if test -v TEST_SSL -a $RV -eq 0; then