diff options
Diffstat (limited to 'test/stress/CMakeLists.txt')
| -rw-r--r-- | test/stress/CMakeLists.txt | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/test/stress/CMakeLists.txt b/test/stress/CMakeLists.txt new file mode 100644 index 0000000..d73c65d --- /dev/null +++ b/test/stress/CMakeLists.txt @@ -0,0 +1,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() |
