From ebf55d4f1c4bf5472d2a64da09c2cd0b034980cc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jiri=20Dan=C4=9Bk?= Date: Tue, 25 Jun 2024 16:23:40 +0200 Subject: [PATCH] fixup, review fix, move test to tests/ --- tests/CMakeLists.txt | 1 + tests/cpp/cpp_unit/CMakeLists.txt | 1 - .../{cpp/cpp_unit/test_static_assert.c => static_assert_test.c} | 2 +- 3 files changed, 2 insertions(+), 2 deletions(-) rename tests/{cpp/cpp_unit/test_static_assert.c => static_assert_test.c} (95%) diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt index 5552ddc26..8a75d3223 100644 --- a/tests/CMakeLists.txt +++ b/tests/CMakeLists.txt @@ -40,6 +40,7 @@ set(unit_test_SOURCES hash_test.c thread_test.c platform_test.c + static_assert_test.c ) add_executable(unit_tests ${unit_test_SOURCES}) diff --git a/tests/cpp/cpp_unit/CMakeLists.txt b/tests/cpp/cpp_unit/CMakeLists.txt index e1187391d..cdace605f 100644 --- a/tests/cpp/cpp_unit/CMakeLists.txt +++ b/tests/cpp/cpp_unit/CMakeLists.txt @@ -40,7 +40,6 @@ add_executable(cpp_unit test_amqp.cpp test_server.cpp test_terminus.cpp - test_static_assert.c ) target_link_libraries(cpp_unit cpp-stub pthread skupper-router ${bfd_lib}) # http_common.h includes "delivery.h" diff --git a/tests/cpp/cpp_unit/test_static_assert.c b/tests/static_assert_test.c similarity index 95% rename from tests/cpp/cpp_unit/test_static_assert.c rename to tests/static_assert_test.c index a4073031d..4e5a8681f 100644 --- a/tests/cpp/cpp_unit/test_static_assert.c +++ b/tests/static_assert_test.c @@ -17,7 +17,7 @@ * under the License. */ -#include "qpid/dispatch/static_assert.h" +#include "../include/qpid/dispatch/static_assert.h" static unsigned long ul; static long l;