From ee80502ed8b7e870fcb9e38b8c3eadb7ea3b7049 Mon Sep 17 00:00:00 2001 From: Kefu Chai Date: Sat, 14 Nov 2020 00:38:04 +0800 Subject: [PATCH] pybind/mgr/dashboard/run-backend-api-tests: add src/pybind to PYTHONPATH Signed-off-by: Kefu Chai --- src/pybind/mgr/dashboard/run-backend-api-tests.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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} -- 2.47.3