From 667e87b3392db338a919cbe0213979713aca52e3 Mon Sep 17 00:00:00 2001 From: Peter Dimov Date: Tue, 16 Aug 2022 20:59:52 +0300 Subject: [PATCH] Change C test names to not conflict with the C++ ones --- test/CMakeLists.txt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/test/CMakeLists.txt b/test/CMakeLists.txt index c3b72dc..dfa2d60 100644 --- a/test/CMakeLists.txt +++ b/test/CMakeLists.txt @@ -1,4 +1,4 @@ -# Copyright 2018, 2019 Peter Dimov +# Copyright 2018, 2019, 2022 Peter Dimov # Distributed under the Boost Software License, Version 1.0. # See accompanying file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt @@ -21,7 +21,7 @@ include_directories(../../..) # for `include ` to work foreach(test IN LISTS tests_c) - boost_test(TYPE compile SOURCES ${test}.c) + boost_test(TYPE compile SOURCES ${test}.c NAME ${test}_c) endforeach() @@ -33,7 +33,7 @@ endforeach() foreach(test IN LISTS tests_common_fail) - boost_test(TYPE compile-fail SOURCES ${test}.c) + boost_test(TYPE compile-fail SOURCES ${test}.c NAME ${test}_c) boost_test(TYPE compile-fail SOURCES ${test}.cpp) endforeach()