diff options
author | Felipe Pena <felipe@php.net> | 2011-02-27 17:55:39 +0000 |
---|---|---|
committer | Felipe Pena <felipe@php.net> | 2011-02-27 17:55:39 +0000 |
commit | 1f991c8e4240889176ca5a88fd66b646f59c0eb5 (patch) | |
tree | 3d6c9aef566ce2ebc52170faf590f4787ddcd3fc /run-tests.php | |
parent | a5348bed314f06384c84e292ddd3c7214eda36f1 (diff) | |
download | php-git-1f991c8e4240889176ca5a88fd66b646f59c0eb5.tar.gz |
- Possible fix for Bug #54108 (valgrind can not be found if located outside of system's default PATH)
Diffstat (limited to 'run-tests.php')
-rwxr-xr-x | run-tests.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/run-tests.php b/run-tests.php index 1b4bd5f449..dc5b7178ef 100755 --- a/run-tests.php +++ b/run-tests.php @@ -567,7 +567,7 @@ if (isset($argc) && $argc > 1) { case 'm': $leak_check = true; $valgrind_cmd = "valgrind --version"; - $valgrind_header = system_with_timeout($valgrind_cmd); + $valgrind_header = system_with_timeout($valgrind_cmd, $environment); $replace_count = 0; if (!$valgrind_header) { error("Valgrind returned no version info, cannot proceed.\nPlease check if Valgrind is installed."); |