Details
-
Improvement
-
Status: Closed
-
Trivial
-
Resolution: Fixed
-
proton-0.6
-
None
Description
The proton build system detects if valgrind is installed, and exports the VALGRIND environment variable for use by the tests. However the proton build system sets this environment variable to 1.
The QPID build system also sets the VALGRIND environment variable, but it sets it to the path to the valgrind executable (eg. /usr/bin/valgrind, or equivalent). The QPID test bed assumes $VALGRIND is the path to the executable.
Modify the proton build system to use the same convention as the QPID build system. This prevents problems when switching from one build system to the other.