mirror of
https://github.com/php/php-src.git
synced 2026-03-24 00:02:20 +01:00
Set display_startup_errors=0 when running skipif
Now that we're displaying errors in skipif, suppress this particular category. Otherwise we get warnings in the SKIPIF of tests with EXTENSION where the extension does not exist, and there's no way to suppress them.
This commit is contained in:
@@ -2135,7 +2135,7 @@ TEST $file
|
||||
|
||||
junit_start_timer($shortname);
|
||||
|
||||
$output = system_with_timeout("$extra $php $pass_options $extra_options -q $orig_ini_settings $no_file_cache -d display_errors=1 \"$test_skipif\"", $env);
|
||||
$output = system_with_timeout("$extra $php $pass_options $extra_options -q $orig_ini_settings $no_file_cache -d display_errors=1 -d display_startup_errors=0 \"$test_skipif\"", $env);
|
||||
$output = trim($output);
|
||||
|
||||
junit_finish_timer($shortname);
|
||||
|
||||
Reference in New Issue
Block a user