From 2b3b40104834d4151d72b6a06d9c51c2db4c9c4f Mon Sep 17 00:00:00 2001 From: Mateo Cindric Date: Tue, 3 Jan 2023 15:48:05 +0000 Subject: [PATCH] unit-testing: move unit testing files to new directory --- CMakeLists.txt | 2 +- tests/{ => unit}/Tests.cmake | 2 +- tests/{ => unit}/system_utest.c | 0 3 files changed, 2 insertions(+), 2 deletions(-) rename tests/{ => unit}/Tests.cmake (93%) rename tests/{ => unit}/system_utest.c (100%) diff --git a/CMakeLists.txt b/CMakeLists.txt index 868a4c1..ef6fede 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -97,5 +97,5 @@ endif() if(ENABLE_BUILD_TESTS) find_package(CMOCKA REQUIRED) include(CTest) - include(tests/Tests.cmake) + include(tests/unit/Tests.cmake) endif() \ No newline at end of file diff --git a/tests/Tests.cmake b/tests/unit/Tests.cmake similarity index 93% rename from tests/Tests.cmake rename to tests/unit/Tests.cmake index c918751..4d33ab1 100644 --- a/tests/Tests.cmake +++ b/tests/unit/Tests.cmake @@ -13,7 +13,7 @@ add_executable( system_utest - tests/system_utest.c + ${CMAKE_SOURCE_DIR}/tests/unit/system_utest.c ) target_link_libraries( diff --git a/tests/system_utest.c b/tests/unit/system_utest.c similarity index 100% rename from tests/system_utest.c rename to tests/unit/system_utest.c