test.sh 488 B

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