summaryrefslogtreecommitdiff
path: root/run-tests.php
diff options
context:
space:
mode:
authorNikita Popov <nikita.ppv@gmail.com>2019-02-18 09:46:17 +0100
committerNikita Popov <nikita.ppv@gmail.com>2019-02-18 11:03:38 +0100
commitb7b3a600cb05c1f80fb11e60cac24f041c4586b3 (patch)
tree42b9929a095123e3da64bea50539e8894ba11908 /run-tests.php
parent2f3d61971ff9980a4f2c7b5255e226103b4e72bb (diff)
downloadphp-git-b7b3a600cb05c1f80fb11e60cac24f041c4586b3.tar.gz
Don't suppress errors during in preload testing
Diffstat (limited to 'run-tests.php')
-rwxr-xr-xrun-tests.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/run-tests.php b/run-tests.php
index 59296c240d..58be58ee69 100755
--- a/run-tests.php
+++ b/run-tests.php
@@ -1852,7 +1852,7 @@ TEST $file
$args = isset($section_text['ARGS']) ? ' -- ' . $section_text['ARGS'] : '';
if ($preload) {
- save_text($preload_filename, "<?php\nerror_reporting(0);\nopcache_compile_file('" . $test_file . "');");
+ save_text($preload_filename, "<?php opcache_compile_file('$test_file');");
$local_pass_options = $pass_options;
unset($pass_options);
$pass_options = $local_pass_options;