mirror of
https://github.com/php/php-src.git
synced 2026-03-24 00:02:20 +01:00
Merge branch 'PHP-8.2' into PHP-8.3
* PHP-8.2: [skip ci] Auto-mark SKIP_PERF_SENSITIVE tests as flaky
This commit is contained in:
@@ -2847,6 +2847,11 @@ function is_flaky(TestFile $test): bool
|
||||
if ($test->hasSection('FLAKY')) {
|
||||
return true;
|
||||
}
|
||||
if ($test->hasSection('SKIPIF')) {
|
||||
if (strpos($test->getSection('SKIPIF'), 'SKIP_PERF_SENSITIVE') !== false) {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
if (!$test->hasSection('FILE')) {
|
||||
return false;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user