From cd1aab1e856e3fa7034856ec6a04db97a7f969fa Mon Sep 17 00:00:00 2001 From: Jean-Roland Date: Mon, 18 Dec 2023 11:42:05 +0100 Subject: [PATCH] build: add performance test --- CMakeLists.txt | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 4728c1f5b..426f85cc6 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -310,6 +310,8 @@ if(UNIX OR MSVC) add_executable(z_api_double_drop_test ${PROJECT_SOURCE_DIR}/tests/z_api_double_drop_test.c) add_executable(z_test_fragment_tx ${PROJECT_SOURCE_DIR}/tests/z_test_fragment_tx.c) add_executable(z_test_fragment_rx ${PROJECT_SOURCE_DIR}/tests/z_test_fragment_rx.c) + add_executable(z_perf_tx ${PROJECT_SOURCE_DIR}/tests/z_perf_tx.c) + add_executable(z_perf_rx ${PROJECT_SOURCE_DIR}/tests/z_perf_rx.c) target_link_libraries(z_data_struct_test ${Libname}) target_link_libraries(z_endpoint_test ${Libname}) @@ -320,6 +322,8 @@ if(UNIX OR MSVC) target_link_libraries(z_api_double_drop_test ${Libname}) target_link_libraries(z_test_fragment_tx ${Libname}) target_link_libraries(z_test_fragment_rx ${Libname}) + target_link_libraries(z_perf_tx ${Libname}) + target_link_libraries(z_perf_rx ${Libname}) configure_file(${PROJECT_SOURCE_DIR}/tests/modularity.py ${CMAKE_RUNTIME_OUTPUT_DIRECTORY}/modularity.py COPYONLY) configure_file(${PROJECT_SOURCE_DIR}/tests/raweth.py ${CMAKE_RUNTIME_OUTPUT_DIRECTORY}/raweth.py COPYONLY)