|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #54108 valgrind can not be found if located outside of system's default PATH
Submitted: 2011-02-26 21:46 UTC Modified: 2011-02-27 19:22 UTC
From: Assigned: felipe (profile)
Status: Closed Package: Unknown/Other Function
PHP Version: trunk-SVN-2011-02-26 (SVN) OS: FreeBSD
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Bug Type:
New email:
PHP Version: OS:


 [2011-02-26 21:46 UTC]
run-tests.php will fail to find valgrind executable if it is located outside of system's default PATH envoronment.
In case of FreeBSD default path is /usr/bin:/bin and valgrind is installed into /usr/local/bin/valgrind.

Test script:
make test TESTS="-m ..."

Expected result:
make should start tests with valgrind enabled

Actual result:
valgrind mode is disabled as valgrind binary is not found


path-run-tests (last revision 2011-02-26 20:46 UTC by lytboris)

Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2011-02-27 18:55 UTC]
Automatic comment from SVN on behalf of felipe
Log: - Possible fix for Bug #54108 (valgrind can not be found if located outside of system's default PATH)
 [2011-02-27 18:56 UTC]
-Status: Open +Status: Feedback
 [2011-02-27 18:56 UTC]
I've committed a similar patch, can you check if it works? Thanks.
 [2011-02-27 19:13 UTC]
That works ok.
 [2011-02-27 19:22 UTC]
-Status: Feedback +Status: Closed -Assigned To: +Assigned To: felipe
 [2011-02-27 19:22 UTC]
This bug has been fixed in SVN.

Snapshots of the sources are packaged every three hours; this change
will be in the next snapshot. You can grab the snapshot at
Thank you for the report, and for helping us make PHP better.

PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Tue Feb 20 23:01:27 2024 UTC