Skip to content

Commit fc622ca

Browse files
author
Jani Taskinen
committed
- Fix problem with SKIPIF failing to skip in some cases (deprecated warnings f.e.)
1 parent 46c695e commit fc622ca

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

run-tests.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1140,7 +1140,6 @@ function run_test($php, $file, $env)
11401140
global $leak_check, $temp_source, $temp_target, $cfg, $environment;
11411141
global $no_clean;
11421142
global $valgrind_version;
1143-
11441143
$temp_filenames = null;
11451144
$org_file = $file;
11461145

@@ -1427,7 +1426,7 @@ function run_test($php, $file, $env)
14271426
$env['USE_ZEND_ALLOC'] = '1';
14281427
}
14291428

1430-
$output = system_with_timeout("$extra $php $pass_options -q $ini_settings $test_skipif", $env);
1429+
$output = system_with_timeout("$extra $php $pass_options -q $ini_settings -d display_errors=0 $test_skipif", $env);
14311430

14321431
if (!$cfg['keep']['skip']) {
14331432
@unlink($test_skipif);

0 commit comments

Comments
 (0)