]> granicus.if.org Git - php/commitdiff
Don't suppress errors during in preload testing
authorNikita Popov <nikita.ppv@gmail.com>
Mon, 18 Feb 2019 08:46:17 +0000 (09:46 +0100)
committerNikita Popov <nikita.ppv@gmail.com>
Mon, 18 Feb 2019 10:03:38 +0000 (11:03 +0100)
run-tests.php

index 59296c240d4699139b1fd3a685f1287cbaca7327..58be58ee695f6d17a0c55d43dc53ecf8c55aaaaf 100755 (executable)
@@ -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;