1 set(MGR_INSIGHTS_VIRTUALENV ${CEPH_BUILD_VIRTUALENV}/mgr-insights-virtualenv)
3 add_custom_target(mgr-insights-test-venv
4 COMMAND ${CMAKE_SOURCE_DIR}/src/tools/setup-virtualenv.sh --python=${MGR_PYTHON_EXECUTABLE} ${MGR_INSIGHTS_VIRTUALENV}
5 WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}/src/pybind/mgr/insights
6 COMMENT "insights tests virtualenv is being created")
7 add_dependencies(tests mgr-insights-test-venv)