Lines Matching refs:environment
49 $cfgfiles, $cfgtypes, $conf_passed, $end_time, $environment,
115 $environment = $_ENV ?? array();
118 if (empty($environment)) {
120 $environment = getenv();
122 if (empty($environment['TEMP'])) {
123 $environment['TEMP'] = sys_get_temp_dir();
125 if (empty($environment['TEMP'])) {
132 if (count($environment) == 1) {
140 if ((substr(PHP_OS, 0, 3) == "WIN") && empty($environment["SystemRoot"])) {
141 $environment["SystemRoot"] = getenv("SystemRoot");
165 $environment['TEST_PHP_EXECUTABLE'] = $php;
176 $environment['TEST_PHP_CGI_EXECUTABLE'] = $php_cgi;
204 $environment['TEST_PHPDBG_EXECUTABLE'] = $phpdbg;
424 $valgrind = new RuntestsValgrind($environment);
427 $valgrind = new RuntestsValgrind($environment, $argv[++$i]);
447 $environment['TEST_PHP_EXECUTABLE'] = $php;
452 $environment['TEST_PHP_EXECUTABLE'] = $php;
456 $environment['NO_INTERACTION'] = 1;
464 $environment['TEST_TIMEOUT'] = $argv[++$i];
491 $environment['SKIP_SLOW_TESTS'] = 1;
494 $environment['SKIP_ONLINE_TESTS'] = 1;
500 $environment['USE_ZEND_ALLOC'] = 0;
501 $environment['USE_TRACKED_ALLOC'] = 1;
502 $environment['SKIP_ASAN'] = 1;
503 $environment['SKIP_PERF_SENSITIVE'] = 1;
507 $environment['LSAN_OPTIONS'] = 'suppressions=' . $lsanSuppressions
656 if (!isset($environment['TEST_PHP_EXECUTABLE'])) {
659 $environment['TEST_PHP_EXECUTABLE'] = $php;
690 run_all_tests($test_files, $environment);
769 run_all_tests($test_files, $environment);
1759 global $valgrind, $temp_source, $temp_target, $cfg, $environment;
2222 $redirenv = array_merge($environment, $IN_REDIRECT['ENV']);
3623 public function __construct(array $environment, string $tool = 'memcheck') argument
3626 $header = system_with_timeout("valgrind --tool={$this->tool} --version", $environment);