Commit 387a3af
authored
Fix run-tests.php --file-cache-prime with multiple workers (GH-22886)
* Fix run-tests.php --file-cache-prime with multiple workers
We want to remove the directory only before running tests, rather than for every
test. That causes races, but also defeats the purpose of priming the cache.
* Move opcache.opt_debug_level tests
These need to live in ext/opcache/tests to be skipped by run-tests.php for the
--file-cache-use tests, which won't compile the files and thus won't dump the
output.
* Mark preloading test as opcache.file_cache_only=0
Preloading requires shm.1 parent bf46492 commit 387a3af
4 files changed
Lines changed: 13 additions & 5 deletions
File tree
- Zend/tests/partial_application
- ext/opcache/tests
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| 7 | + | |
7 | 8 | | |
8 | 9 | | |
9 | 10 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
700 | 700 | | |
701 | 701 | | |
702 | 702 | | |
| 703 | + | |
| 704 | + | |
| 705 | + | |
| 706 | + | |
| 707 | + | |
| 708 | + | |
703 | 709 | | |
704 | 710 | | |
705 | 711 | | |
| |||
1054 | 1060 | | |
1055 | 1061 | | |
1056 | 1062 | | |
| 1063 | + | |
| 1064 | + | |
| 1065 | + | |
| 1066 | + | |
| 1067 | + | |
1057 | 1068 | | |
1058 | 1069 | | |
1059 | 1070 | | |
| |||
2091 | 2102 | | |
2092 | 2103 | | |
2093 | 2104 | | |
2094 | | - | |
2095 | | - | |
2096 | | - | |
2097 | | - | |
2098 | | - | |
| 2105 | + | |
2099 | 2106 | | |
2100 | 2107 | | |
2101 | 2108 | | |
| |||
0 commit comments