blob: 5d16f4e002d731f719d7161c5718615b8aaf4319 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
|
find_package(Python3 REQUIRED COMPONENTS Interpreter)
add_test(
NAME integration_tests
COMMAND Python3::Interpreter -m pytest
"${CMAKE_CURRENT_SOURCE_DIR}"
--server-binary "$<TARGET_FILE:server>"
--worker-binary "$<TARGET_FILE:worker>"
--client-binary "$<TARGET_FILE:client>"
--project-version "${PROJECT_VERSION}"
WORKING_DIRECTORY "${CMAKE_CURRENT_SOURCE_DIR}")
|