mirror of https://github.com/ceph/ceph
cmake: pass CEPH_BUILD_VIRTUALENV to test as an env variable
Signed-off-by: Kefu Chai <kchai@redhat.com>
This commit is contained in:
parent
c49c8bdf17
commit
25030b0436
|
@ -13,7 +13,8 @@ function(add_ceph_test test_name test_path)
|
|||
CEPH_BUILD_DIR=${CMAKE_BINARY_DIR}
|
||||
LD_LIBRARY_PATH=${CMAKE_BINARY_DIR}/lib
|
||||
PATH=${CMAKE_RUNTIME_OUTPUT_DIRECTORY}:${CMAKE_SOURCE_DIR}/src:$ENV{PATH}
|
||||
PYTHONPATH=${CMAKE_LIBRARY_OUTPUT_DIRECTORY}/cython_modules/lib.linux-x86_64-2.7:${CMAKE_SOURCE_DIR}/src/pybind)
|
||||
PYTHONPATH=${CMAKE_LIBRARY_OUTPUT_DIRECTORY}/cython_modules/lib.linux-x86_64-2.7:${CMAKE_SOURCE_DIR}/src/pybind
|
||||
CEPH_BUILD_VIRTUALENV=${CEPH_BUILD_VIRTUALENV})
|
||||
endfunction()
|
||||
|
||||
#sets uniform compiler flags and link libraries
|
||||
|
|
Loading…
Reference in New Issue