php.net |  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: lytboris@php.net 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
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem:
48 - 16 = ?
Subscribe to this entry?

 
 [2011-02-26 21:46 UTC] lytboris@php.net
Description:
------------
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

Patches

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

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2011-02-27 18:55 UTC] felipe@php.net
Automatic comment from SVN on behalf of felipe
Revision: http://svn.php.net/viewvc/?view=revision&revision=308726
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] felipe@php.net
-Status: Open +Status: Feedback
 [2011-02-27 18:56 UTC] felipe@php.net
I've committed a similar patch, can you check if it works? Thanks.
 [2011-02-27 19:13 UTC] lytboris@php.net
That works ok.
 [2011-02-27 19:22 UTC] felipe@php.net
-Status: Feedback +Status: Closed -Assigned To: +Assigned To: felipe
 [2011-02-27 19:22 UTC] felipe@php.net
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
http://snaps.php.net/.
 
Thank you for the report, and for helping us make PHP better.

Thanks.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Apr 20 03:01:28 2024 UTC