xref: /PHP-8.3/travis/test.sh (revision 706e51ad)
1#!/bin/bash
2set -ex
3
4# ARM64 CI reports nproc=32, which is excessive.
5if [ -z "$ARM64" ]; then export JOBS=$(nproc); else export JOBS=16; fi
6
7export SKIP_SLOW_TESTS=1
8export SKIP_IO_CAPTURE_TESTS=1
9./sapi/cli/php run-tests.php -P \
10    -g "FAIL,SKIP,BORK,LEAK" --offline --show-diff --show-slow 1000 \
11    --no-progress \
12    --set-timeout 120 -j$JOBS \
13    -d extension=`pwd`/modules/zend_test.so \
14    -d zend_extension=`pwd`/modules/opcache.so \
15    -d opcache.enable_cli=1 \
16    -d opcache.protect_memory=1 \
17    "$@"
18