From: Kefu Chai Date: Fri, 13 Nov 2020 16:38:04 +0000 (+0800) Subject: pybind/mgr/dashboard/run-backend-api-tests: add src/pybind to PYTHONPATH X-Git-Tag: v16.1.0~525^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=ee80502ed8b7e870fcb9e38b8c3eadb7ea3b7049;p=ceph.git pybind/mgr/dashboard/run-backend-api-tests: add src/pybind to PYTHONPATH Signed-off-by: Kefu Chai --- diff --git a/src/pybind/mgr/dashboard/run-backend-api-tests.sh b/src/pybind/mgr/dashboard/run-backend-api-tests.sh index b8cdc78baac2..2dac4de2e34f 100755 --- a/src/pybind/mgr/dashboard/run-backend-api-tests.sh +++ b/src/pybind/mgr/dashboard/run-backend-api-tests.sh @@ -119,8 +119,7 @@ run_teuthology_tests() { local python_common_dir=$source_dir/src/python-common # In CI environment we set python paths inside build (where you find the required frontend build: "dist" dir). if [[ -n "$JENKINS_HOME" ]]; then - export PYBIND=$LOCAL_BUILD_DIR/src/pybind - pybind_dir=$PYBIND + pybind_dir+=":$LOCAL_BUILD_DIR/src/pybind" fi export PYTHONPATH=$source_dir/qa:$LOCAL_BUILD_DIR/lib/cython_modules/lib.3/:$pybind_dir:$python_common_dir:${COVERAGE_PATH} export RGW=${RGW:-1}