From 9d1910cc64deb18d46217c366008f3ad1de0d578 Mon Sep 17 00:00:00 2001 From: Bastian Dehn Date: Wed, 6 May 2026 08:46:53 +0200 Subject: [PATCH] rename run tests only to tests --- tests/CMakeLists.txt | 12 ++++++------ tests/{run_tests.c => tests.c} | 0 2 files changed, 6 insertions(+), 6 deletions(-) rename tests/{run_tests.c => tests.c} (100%) diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt index 183c214..eca6517 100644 --- a/tests/CMakeLists.txt +++ b/tests/CMakeLists.txt @@ -16,8 +16,8 @@ message(STATUS "CPPCHECK_VERSION: ${CPPCHECK_VERSION}") file(COPY ${CMAKE_SOURCE_DIR}/src/kds_s2000w_net.conf DESTINATION ${CMAKE_CURRENT_BINARY_DIR}) -add_executable(run_tests - run_tests.c +add_executable(tests + tests.c kds_s2000w_client_mock.c kds_s2000w_net_get_opt_tests.c kds_s2000w_net_set_opt_tests.c @@ -29,16 +29,16 @@ add_executable(run_tests kds_s2000w_image_type_check_tests.c kds_s2000w_pixel_converter_tests.c kds_s2000w_client_mock.c) -add_dependencies(run_tests +add_dependencies(tests sane-kds_s2000w_net-static) -target_link_libraries(run_tests +target_link_libraries(tests ${CMOCKA_LIBRARY} sane-kds_s2000w_net-static) add_custom_target(runningtests - ALL ./run_tests + ALL ./tests WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR} - DEPENDS run_tests) + DEPENDS tests) add_custom_command(TARGET runningtests POST_BUILD diff --git a/tests/run_tests.c b/tests/tests.c similarity index 100% rename from tests/run_tests.c rename to tests/tests.c -- 2.47.3