1
0
mirror of https://github.com/php/php-src.git synced 2026-03-24 08:12:21 +01:00

Don't preload tests without --FILE-- section

This commit is contained in:
Dmitry Stogov
2019-02-20 00:06:57 +03:00
parent 6b00238979
commit 555fb294ec

View File

@@ -2262,7 +2262,7 @@ TEST $file
$args = isset($section_text['ARGS']) ? ' -- ' . $section_text['ARGS'] : '';
if ($preload) {
if ($preload && !empty($test_file)) {
save_text($preload_filename, "<?php opcache_compile_file('$test_file');");
$local_pass_options = $pass_options;
unset($pass_options);