]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
mgr/dashboard: restore working directory after creating venv
authorKefu Chai <kchai@redhat.com>
Fri, 20 Dec 2019 11:56:19 +0000 (19:56 +0800)
committerKefu Chai <kchai@redhat.com>
Fri, 20 Dec 2019 12:39:57 +0000 (20:39 +0800)
this change addresses the regression introduced by 79584862f6

Signed-off-by: Kefu Chai <kchai@redhat.com>
src/pybind/mgr/dashboard/run-backend-api-tests.sh

index 9afa0ec71904ff55eeb2832e108c702a9f1e9ff1..6eacc2cfaf271d7a43578803d53d922ea54a9748 100755 (executable)
@@ -34,6 +34,8 @@ get_cmake_variable() {
 }
 
 [ -z "$BUILD_DIR" ] && BUILD_DIR=build
+CURR_DIR=`pwd`
+LOCAL_BUILD_DIR="$CURR_DIR/../../../../$BUILD_DIR"
 
 setup_teuthology() {
     TEMP_DIR=`mktemp -d`