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 Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
If you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: lytboris@php.net
New email:
PHP Version: OS:

 

 [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)

Pull Requests

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 Dec 21 12:01:31 2024 UTC