mirror of
https://github.com/php/php-src.git
synced 2024-11-30 13:25:43 +08:00
706e51ad8a
It seems travis_wait is broken. Output skipped tests to avoid the timeout. Closes GH-12822
18 lines
522 B
Bash
Executable File
18 lines
522 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_SLOW_TESTS=1
|
|
export SKIP_IO_CAPTURE_TESTS=1
|
|
./sapi/cli/php run-tests.php -P \
|
|
-g "FAIL,SKIP,BORK,LEAK" --offline --show-diff --show-slow 1000 \
|
|
--no-progress \
|
|
--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 \
|
|
"$@"
|