Skip to content

Commit 217fcea

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

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
@@ -2847,6 +2847,11 @@ function is_flaky(TestFile $test): bool
28472847
if ($test->hasSection('FLAKY')) {
28482848
return true;
28492849
}
2850+
if ($test->hasSection('SKIPIF')) {
2851+
if (strpos($test->getSection('SKIPIF'), 'SKIP_PERF_SENSITIVE') !== false) {
2852+
return true;
2853+
}
2854+
}
28502855
if (!$test->hasSection('FILE')) {
28512856
return false;
28522857
}

0 commit comments

Comments
 (0)