blob: c706aa8cbe50c04fa78b11b736583a0357d77021 (
plain)
1
2
3
4
5
6
7
|
set(MGR_ANSIBLE_VIRTUALENV ${CEPH_BUILD_VIRTUALENV}/mgr-ansible-virtualenv)
add_custom_target(mgr-ansible-test-venv
COMMAND ${CMAKE_SOURCE_DIR}/src/tools/setup-virtualenv.sh --python=${MGR_PYTHON_EXECUTABLE} ${MGR_ANSIBLE_VIRTUALENV}
WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}/src/pybind/mgr/ansible
COMMENT "ansible tests virtualenv is being created")
add_dependencies(tests mgr-ansible-test-venv)
|