com php-src: Don't suppress errors during in preload testing: run-tests.php
| From: | Nikita Popov | Date: | Mon, 18 Feb 2019 10:03:38 +0000 |
| Subject: | com php-src: Don't suppress errors during in preload testing: run-tests.php | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-104681@lists.php.net to get a copy of this message | ||
Commit: b7b3a600cb05c1f80fb11e60cac24f041c4586b3
Author: Nikita Popov <nikita.ppv@gmail.com> Mon, 18 Feb 2019 09:46:17 +0100
Parents: 2f3d61971ff9980a4f2c7b5255e226103b4e72bb
Branches: PHP-7.4 master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=b7b3a600cb05c1f80fb11e60cac24f041c4586b3
Log:
Don't suppress errors during in preload testing
Changed paths:
M run-tests.php
Diff:
diff --git a/run-tests.php b/run-tests.php
index 59296c2..58be58e 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;