dev-util/catkin: Set PYTHONPATH at configure time so that tests run against the version to install, not the installed one.

Package-Manager: Portage-2.3.3, Repoman-2.3.1
This commit is contained in:
Alexis Ballier
2017-02-16 05:26:18 +01:00
parent 58e6135bc2
commit 91d640016d
2 changed files with 2 additions and 0 deletions

View File

@@ -68,6 +68,7 @@ catkin_src_configure_internal() {
}
src_configure() {
export PYTHONPATH="${S}/python"
local mycmakeargs=(
"$(cmake-utils_use test CATKIN_ENABLE_TESTING)"
"-DCATKIN_BUILD_BINARY_PACKAGE=ON"

View File

@@ -68,6 +68,7 @@ catkin_src_configure_internal() {
}
src_configure() {
export PYTHONPATH="${S}/python"
local mycmakeargs=(
"$(cmake-utils_use test CATKIN_ENABLE_TESTING)"
"-DCATKIN_BUILD_BINARY_PACKAGE=ON"