File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -356,6 +356,12 @@ jobs:
356356 libnghttp2-dev libjansson-dev libpcre2-dev gdb
357357 perl-doc libsasl2-dev ${{ matrix.pkgs }} check
358358 - uses : actions/checkout@v6
359+ - uses : actions/checkout@v6
360+ with :
361+ repository : apache/httpd-tests
362+ path : test/perl-framework
363+ submodules : true
364+ if : ${{ ! ( env.SKIP_TESTING || env.NO_TEST_FRAMEWORK ) }}
359365 - name : Cache installed libraries
360366 uses : actions/cache@v5
361367 with :
Original file line number Diff line number Diff line change @@ -21,37 +21,6 @@ if grep ip6-localhost /etc/hosts; then
2121 cat /etc/hosts
2222fi
2323
24- # Use a rudimental retry workflow as workaround to svn export hanging
25- # for minutes or failing randomly. Travis automatically kills a build
26- # if one step takes more than 10 minutes without reporting any
27- # progress.
28- function run_svn_export() {
29- local url=$1
30- local revision=$2
31- local dest_dir=$3
32- local max_tries=$4
33-
34- # Disable -e to allow fail/retry
35- set +e
36-
37- for i in $( seq 1 $max_tries )
38- do
39- timeout 60 svn export -r ${revision} --force -q $url $dest_dir
40- if [ $? -eq 0 ]; then
41- break
42- else
43- if [ $i -eq $max_tries ]; then
44- exit 1
45- else
46- sleep $(( 100 * i))
47- fi
48- fi
49- done
50-
51- # Restore -e behavior after fail/retry
52- set -e
53- }
54-
5524function install_apx() {
5625 local name=$1
5726 local version=$2
@@ -148,16 +117,6 @@ if ! test -v SKIP_TESTING -o -v NO_TEST_FRAMEWORK; then
148117
149118 # Cache the perl -V output for future verification.
150119 mv perlver ~ /perl5/.perlver
151-
152- # Make a shallow clone of httpd-tests git repo.
153- git clone -q --depth=1 https://github.com/apache/httpd-tests.git test/perl-framework
154-
155- # For OpenSSL 3.2+ testing, Apache::Test r1916067 is required, so
156- # use a checkout of trunk until there is an updated CPAN release
157- # with that revision.
158- if test -v TEST_OPENSSL3; then
159- run_svn_export https://svn.apache.org/repos/asf/perl/Apache-Test/trunk HEAD test/perl-framework/Apache-Test 5
160- fi
161120fi
162121
163122# For LDAP testing, run slapd listening on port 8389 and populate the
You can’t perform that action at this time.
0 commit comments