summaryrefslogtreecommitdiffstats
path: root/src/pybind/mgr/insights/CMakeLists.txt
blob: 00722a99581ec76a268a4c38faa015e28aff9859 (plain)
1
2
3
4
5
6
7
set(MGR_INSIGHTS_VIRTUALENV ${CEPH_BUILD_VIRTUALENV}/mgr-insights-virtualenv)

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