php-src/travis/test.sh
Nikita Popov 7eec57c263
Test ARM64 JIT on Travis (#7157)
Run tests with tracing JIT, function JIT and tracing JIT under --repeat 2.

As the overall build with three test runs only takes ~15m, I'm enabling this unconditionally, rather than just for nightly builds.
2021-06-16 17:13:46 +02:00

16 lines
488 B
Bash
Executable File

#!/bin/bash
set -ex
# ARM64 CI reports nproc=32, which is excessive.
if [ -z "$ARM64" ]; then export JOBS=$(nproc); else export JOBS=16; fi
export SKIP_IO_CAPTURE_TESTS=1
./sapi/cli/php run-tests.php -P \
-g "FAIL,XFAIL,BORK,WARN,LEAK,SKIP" --offline --show-diff --show-slow 1000 \
--set-timeout 120 -j$JOBS \
-d extension=`pwd`/modules/zend_test.so \
-d zend_extension=`pwd`/modules/opcache.so \
-d opcache.enable_cli=1 \
-d opcache.protect_memory=1 \
"$@"