aboutsummaryrefslogblamecommitdiffstatshomepage
path: root/test/CMakeLists.txt
blob: a956d0384dba76e39ee8a584335ea2580bd19be2 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
                            
                            







                                                                                                                                   
add_subdirectory(benchmarks)
add_subdirectory(unit_tests)

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}/stress_test.sh" "$<TARGET_FILE:server>" "$<TARGET_FILE:client>")
endif()