Switch to using httpd-tests git repo.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1874716 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Joe Orton
2020-03-03 11:33:43 +00:00
parent 2f1ab3e2e2
commit 20d26e0c6c
2 changed files with 5 additions and 18 deletions

View File

@ -228,7 +228,7 @@ matrix:
before_install: before_install:
- if [ "$TRAVIS_OS_NAME" = "linux" ]; then - if [ "$TRAVIS_OS_NAME" = "linux" ]; then
cpanm --local-lib=~/perl5 local::lib && eval $(perl -I ~/perl5/lib/perl5/ -Mlocal::lib); 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; CC=gcc cpanm --notest Net::SSL LWP::Protocol::https ExtUtils::Embed Test::More AnyEvent DateTime HTTP::DAV Protocol::HTTP2::Client FCGI Apache::Test;
fi fi
before_script: before_script:

View File

@ -72,23 +72,10 @@ function install_apx() {
if ! test -v SKIP_TESTING; then if ! test -v SKIP_TESTING; then
# The test/framework checkout is cached at ~/root/framework, which ### Temporary: purge old svn checkout from the cache
# is copied to test/framework within the httpd build directory. rm -rf $HOME/root/framework
# Renew the cache here if the last-changed revision is stale. # Make a shallow clone of httpd-tests git repo.
framework=https://svn.apache.org/repos/asf/httpd/test/framework/trunk git clone --depth=1 https://github.com/apache/httpd-tests.git test/perl-framework
fcache=$HOME/root/framework
frev=`svn info --no-newline --show-item last-changed-revision ${framework}`
if [ -d ${fcache} -a ! -f ${fcache}/.revision-is-${frev} ]; then
: Purging stale cache at ${fcache}
rm -rf ${fcache}
fi
if [ ! -d ${fcache} ]; then
run_svn_export ${framework} ${frev} ${fcache} 5
touch ${fcache}/.revision-is-${frev}
fi
cp -a ${fcache} test/perl-framework
fi fi
if test -v APR_VERSION; then if test -v APR_VERSION; then