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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
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 16:01:28 2024 UTC