Skip to content

Commit

Permalink
Merge pull request ceph#29525 from tchaikov/wip-mgr/dashboard/run-bac…
Browse files Browse the repository at this point in the history
…kend-api-tests.sh

mgr/dashboard: add python-common to $PYTHONPATH

Reviewed-by: Alfonso Martínez <[email protected]>
Reviewed-by: Lenz Grimmer <[email protected]>
  • Loading branch information
tchaikov authored Aug 7, 2019
2 parents e83a7a6 + e363325 commit d9a385d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/pybind/mgr/dashboard/run-backend-api-tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,8 @@ run_teuthology_tests() {
export PATH=$BUILD_DIR/bin:$PATH
source $TEMP_DIR/venv/bin/activate # Run after setting PATH as it does the last PATH export.
export LD_LIBRARY_PATH=$BUILD_DIR/lib/cython_modules/lib.${CEPH_PY_VERSION_MAJOR}/:$BUILD_DIR/lib
export PYTHONPATH=$TEMP_DIR/teuthology:$BUILD_DIR/../qa:$BUILD_DIR/lib/cython_modules/lib.${CEPH_PY_VERSION_MAJOR}/:$BUILD_DIR/../src/pybind
local source_dir=$(dirname "$BUILD_DIR")
export PYTHONPATH=$TEMP_DIR/teuthology:$source_dir/qa:$BUILD_DIR/lib/cython_modules/lib.${CEPH_PY_VERSION_MAJOR}/:$source_dir/src/pybind:$source_dir/src/python-common
export RGW=${RGW:-1}

export COVERAGE_ENABLED=true
Expand Down

0 comments on commit d9a385d

Please sign in to comment.