Skip to content

Commit 7ac12be

Browse files
committed
Merge branch 'test_repeat'
2 parents 632cf7e + 3bdc28b commit 7ac12be

File tree

5 files changed

+5
-2
lines changed

5 files changed

+5
-2
lines changed

.github/actions/test-linux/action.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ runs:
4040
export SKIP_IO_CAPTURE_TESTS=1
4141
export STACK_LIMIT_DEFAULTS_CHECK=1
4242
sapi/cli/php run-tests.php -P -q ${{ inputs.runTestsParameters }} \
43+
${{ inputs.jitType == 'disable' && '' || '--repeat 2' }} \
4344
-d opcache.jit=${{ inputs.jitType }} \
4445
-d opcache.protect_memory=1 \
4546
-d opcache.jit_buffer_size=64M \

.github/actions/test-macos/action.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ runs:
1616
export CI_NO_IPV6=1
1717
export STACK_LIMIT_DEFAULTS_CHECK=1
1818
sapi/cli/php run-tests.php -P -q ${{ inputs.runTestsParameters }} \
19+
${{ inputs.jitType == 'disable' && '' || '--repeat 2' }} \
1920
-d opcache.jit=${{ inputs.jitType }} \
2021
-d opcache.protect_memory=1 \
2122
-d opcache.jit_buffer_size=64M \

.github/scripts/windows/test_task.bat

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ set OPENSSL_CONF=
8888
rem set SSLEAY_CONF=
8989

9090
rem prepare for OPcache
91-
if "%OPCACHE%" equ "1" set OPCACHE_OPTS=-d opcache.enable=1 -d opcache.enable_cli=1 -d opcache.protect_memory=1 -d opcache.jit_buffer_size=64M -d opcache.jit=tracing
91+
if "%OPCACHE%" equ "1" set OPCACHE_OPTS=-d opcache.enable=1 -d opcache.enable_cli=1 -d opcache.protect_memory=1 -d opcache.jit_buffer_size=64M -d opcache.jit_max_root_traces=100000 -d opcache.jit_max_side_traces=100000 -d opcache.jit_max_exit_counters=100000 -d opcache.jit=tracing --repeat 2
9292

9393
rem prepare for enchant
9494
mkdir %~d0\usr\local\lib\enchant-2

.github/workflows/nightly.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ jobs:
124124
configuration_parameters: >-
125125
CFLAGS="-fsanitize=undefined,address -DZEND_TRACK_ARENA_ALLOC"
126126
LDFLAGS="-fsanitize=undefined,address"
127-
run_tests_parameters: '--asan'
127+
run_tests_parameters: '--asan --repeat 2'
128128
test_function_jit: false
129129
asan: true
130130
- name: _REPEAT

ext/standard/tests/dir/bug71542.phpt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
Bug #71542 (disk_total_space does not work with relative paths)
33
--FILE--
44
<?php
5+
chdir(__DIR__);
56
$dir = basename(getcwd());
67
chdir("..");
78
var_dump(

0 commit comments

Comments
 (0)