blob: d73c65d99d6f553a51e2b9834b41c6801e24b290 (
plain) (
blame)
1
2
3
4
5
6
7
|
if(CMAKE_HOST_UNIX)
# Not going to bother with bash on Windows.
# stress_test.py is a Python 3 script.
find_package(Python3 REQUIRED COMPONENTS Interpreter)
add_test(NAME stress_test COMMAND "${CMAKE_CURRENT_SOURCE_DIR}/test.sh" "$<TARGET_FILE:server>" "$<TARGET_FILE:client>")
endif()
|