Skip to content
This repository has been archived by the owner on Jul 19, 2021. It is now read-only.

Commit

Permalink
Install built version in libres in komodo PR test
Browse files Browse the repository at this point in the history
Python tests in the komodo PR tests have not been running
against the python code in the PR. This PR fixes that by adding
the python files in the build folder to PYTHONPATH and updating
LD_LIBRARY_PATH so the correct .so files are used when running
the tests.
  • Loading branch information
sondreso committed Oct 5, 2020
1 parent a1a18c9 commit a759be0
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions ci/jenkins/testkomodo.sh
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@ copy_test_files () {
install_package () {
local PWD=$(pwd)
export ERT_SITE_CONFIG=$PWD/share/ert/site-config
export PYTHONPATH=$CI_SOURCE_ROOT/cmake-build/lib/python3.6/site-packages:${PYTHONPATH:-}
export LD_LIBRARY_PATH=$CI_SOURCE_ROOT/cmake-build/lib:$CI_SOURCE_ROOT/cmake-build/lib64:${LD_LIBRARY_PATH:-}
}

start_tests () {
Expand Down

0 comments on commit a759be0

Please sign in to comment.