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
* 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")
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
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