Skip to content

Commit 801e587

Browse files
committed
Merge branch 'PHP-8.4' into PHP-8.5
* PHP-8.4: [skip ci] Auto-mark SKIP_PERF_SENSITIVE tests as flaky
2 parents 79a5804 + dc74dd5 commit 801e587

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
@@ -2811,6 +2811,11 @@ function is_flaky(TestFile $test): bool
28112811
if ($test->hasSection('FLAKY')) {
28122812
return true;
28132813
}
2814+
if ($test->hasSection('SKIPIF')) {
2815+
if (strpos($test->getSection('SKIPIF'), 'SKIP_PERF_SENSITIVE') !== false) {
2816+
return true;
2817+
}
2818+
}
28142819
if (!$test->hasSection('FILE')) {
28152820
return false;
28162821
}

0 commit comments

Comments
 (0)