com php-src: Merge branch 'PHP-7.3' into PHP-7.4: run-tests.php
| From: | Christoph Michael Becker | Date: | Wed, 08 May 2019 17:26:02 +0000 |
| Subject: | com php-src: Merge branch 'PHP-7.3' into PHP-7.4: run-tests.php | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-106081@lists.php.net to get a copy of this message | ||
Commit: ec10e191c4bd4ab2cd2d95a2e4589679f8deb564
Author: Christoph M. Becker <cmbecker69@gmx.de> Wed, 8 May 2019 19:26:02 +0200
Parents: e4e6820d103d82bece101597cdbca06f173cd64b 236522529c0f2d43473e45d5a2801dc6f0d2f420
Branches: PHP-7.4 master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=ec10e191c4bd4ab2cd2d95a2e4589679f8deb564
Log:
Merge branch 'PHP-7.3' into PHP-7.4
* PHP-7.3:
Add {TMP} placeholder for PHPT INI sections
Changed paths:
MM run-tests.php
Diff:
diff --cc run-tests.php
index 58d1096,6491507..b48fa08
mode 100755,100644..100755
--- a/run-tests.php
+++ b/run-tests..php
@@@ -2095,10 -1593,9 +2095,9 @@@ TEST $fil
// 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']);
- }
+ $section_text['INI'] = str_replace('{PWD}', dirname($file),
$section_text['INI']);
+ $section_text['INI'] = str_replace('{TMP}', sys_get_temp_dir(),
$section_text['INI']);
- settings2array(preg_split( "/[\n\r]+/", $section_text['INI']),
$ini_settings);
+ settings2array(preg_split("/[\n\r]+/", $section_text['INI']),
$ini_settings);
}
settings2params($ini_settings);