dev-libs/olm: add built libraries to LD_LIBRARY_PATH for tests

- Add built library paths to LD_LIBRARY_PATH so that tests can use them.

Package-Manager: Portage-3.0.28, Repoman-3.0.3
Signed-off-by: Alfred Wingate <parona@protonmail.com>
This commit is contained in:
Alfred Wingate 2021-11-28 22:54:42 +02:00
parent 54ad275369
commit ced044abba
No known key found for this signature in database
GPG Key ID: A12750536B5E7010

View File

@ -29,11 +29,11 @@ DEPEND="
>=dev-python/cffi-1.0.0[${PYTHON_USEDEP}] >=dev-python/cffi-1.0.0[${PYTHON_USEDEP}]
dev-python/future[${PYTHON_USEDEP}] dev-python/future[${PYTHON_USEDEP}]
test? ( test? (
dev-python/aspectlib[${PYTHON_USEDEP}] dev-python/aspectlib[${PYTHON_USEDEP}]
dev-python/pytest-benchmark[${PYTHON_USEDEP}] dev-python/pytest-benchmark[${PYTHON_USEDEP}]
dev-python/pytest-cov[${PYTHON_USEDEP}] dev-python/pytest-cov[${PYTHON_USEDEP}]
dev-python/pytest-flake8[${PYTHON_USEDEP}] dev-python/pytest-flake8[${PYTHON_USEDEP}]
dev-python/pytest-isort[${PYTHON_USEDEP}] dev-python/pytest-isort[${PYTHON_USEDEP}]
) )
) )
" "
@ -90,7 +90,7 @@ src_test() {
emake test emake test
if use python; then if use python; then
pushd python || die pushd python || die
distutils-r1_src_test LD_LIBRARY_PATH="${BUILD_DIR}:${LD_LIBRARY_PATH}" distutils-r1_src_test
popd || die popd || die
fi fi
} }