Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -353,7 +353,7 @@ jobs:
cpanminus libtool-bin libapr1-dev libaprutil1-dev
liblua5.3-dev libbrotli-dev libcurl4-openssl-dev
libnghttp2-dev libjansson-dev libpcre2-dev gdb
perl-doc libsasl2-dev ${{ matrix.pkgs }}
perl-doc libsasl2-dev ${{ matrix.pkgs }} check
- uses: actions/checkout@v4
- name: Cache installed libraries
uses: actions/cache@v4
Expand Down
3 changes: 2 additions & 1 deletion test/README.ci
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,8 @@ The CI scripts use the following environment variables:

* SKIP_TESTING - if set, no testing is done at all

* NO_TEST_FRAMEWORK - if set, the Perl test framework is not used
* NO_TEST_FRAMEWORK - if set, the Perl-based test framework and
libcheck-based unit tests are skipped

* TEST_UBSAN - set for job using UBSan ("Undefined Behaviour Sanitizer")

Expand Down
9 changes: 7 additions & 2 deletions test/travis_run_linux.sh
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,12 @@ sudo sysctl -w kernel.core_pattern=core || true
ulimit -c unlimited 2>/dev/null || true

if ! test -v NO_TEST_FRAMEWORK; then
if test -v WITH_TEST_SUITE; then
: Running libcheck-based unit tests.
if ! prove -v ./test/httpdunit; then
RV=1
fi

if test -v WITH_TEST_SUITE -a $RV -eq 0; then
make check TESTS="${TESTS}" TEST_CONFIG="${TEST_ARGS}" | tee test.log
RV=${PIPESTATUS[0]}
# re-run failing tests with -v, avoiding set -e
Expand Down Expand Up @@ -239,7 +244,7 @@ if test -v LITMUS -a $RV -eq 0; then
fi

if test -v TEST_CORE -a $RV -eq 0; then
# Run HTTP/2 tests.
# Run core module tests.
MPM=event py.test-3 test/modules/core
RV=$?
fi
Expand Down