diff options
| -rwxr-xr-x | run-tests.php | 25 |
1 files changed, 13 insertions, 12 deletions
diff --git a/run-tests.php b/run-tests.php index a607f1cda2..bc9de7fdcf 100755 --- a/run-tests.php +++ b/run-tests.php @@ -1539,18 +1539,6 @@ TEST $file // Default ini settings $ini_settings = array(); - // additional ini overwrites - //$ini_overwrites[] = 'setting=value'; - settings2array($ini_overwrites, $ini_settings); - - // Any special ini settings - // these may overwrite the test defaults... - if (array_key_exists('INI', $section_text)) { - if (strpos($section_text['INI'], '{PWD}') !== false) { - $section_text['INI'] = str_replace('{PWD}', dirname($file), $section_text['INI']); - } - settings2array(preg_split( "/[\n\r]+/", $section_text['INI']), $ini_settings); - } // Additional required extensions if (array_key_exists('EXTENSIONS', $section_text)) { @@ -1564,6 +1552,19 @@ TEST $file } } + // additional ini overwrites + //$ini_overwrites[] = 'setting=value'; + settings2array($ini_overwrites, $ini_settings); + + // Any special ini settings + // these may overwrite the test defaults... + if (array_key_exists('INI', $section_text)) { + if (strpos($section_text['INI'], '{PWD}') !== false) { + $section_text['INI'] = str_replace('{PWD}', dirname($file), $section_text['INI']); + } + settings2array(preg_split( "/[\n\r]+/", $section_text['INI']), $ini_settings); + } + settings2params($ini_settings); // Check if test should be skipped. |
