Skip to content

Commit dc74dd5

Browse files
committed
Merge branch 'PHP-8.3' into PHP-8.4
* PHP-8.3: [skip ci] Auto-mark SKIP_PERF_SENSITIVE tests as flaky
2 parents ed8a45c + 217fcea commit dc74dd5

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

run-tests.php

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2805,6 +2805,11 @@ function is_flaky(TestFile $test): bool
28052805
if ($test->hasSection('FLAKY')) {
28062806
return true;
28072807
}
2808+
if ($test->hasSection('SKIPIF')) {
2809+
if (strpos($test->getSection('SKIPIF'), 'SKIP_PERF_SENSITIVE') !== false) {
2810+
return true;
2811+
}
2812+
}
28082813
if (!$test->hasSection('FILE')) {
28092814
return false;
28102815
}

0 commit comments

Comments
 (0)