]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
test: run-rbd-tests test cmake fixup 10134/head
authorMykola Golub <mgolub@mirantis.com>
Tue, 5 Jul 2016 06:27:00 +0000 (09:27 +0300)
committerMykola Golub <mgolub@mirantis.com>
Tue, 5 Jul 2016 06:27:00 +0000 (09:27 +0300)
Signed-off-by: Mykola Golub <mgolub@mirantis.com>
src/test/run-rbd-tests

index b4b5362694cf44884ab51f67a3bebc025d9bfbb5..b296d9def6616108c7ef3da5a999677e05de84b6 100755 (executable)
@@ -3,13 +3,13 @@
 # this should be run from the src directory in the ceph.git
 
 source $(dirname $0)/detect-build-env-vars.sh
+CEPH_SRC=$CEPH_ROOT/src
 if [ -e CMakeCache.txt ]; then
     CYTHON_MODULES_DIR=$CEPH_LIB/cython_modules
 else
     CYTHON_MODULES_DIR=$CEPH_SRC/build
 fi
 
-CEPH_SRC=$CEPH_ROOT/src
 export PYTHONPATH="$CEPH_SRC/pybind:$CEPH_SRC/test/pybind"
 for x in $CYTHON_MODULES_DIR/lib* ; do
     PYTHONPATH="${PYTHONPATH}:${x}"