Change C test names to not conflict with the C++ ones

This commit is contained in:
Peter Dimov
2022-08-16 20:59:52 +03:00
parent e919b652af
commit 667e87b339

View File

@ -1,4 +1,4 @@
# Copyright 2018, 2019 Peter Dimov # Copyright 2018, 2019, 2022 Peter Dimov
# Distributed under the Boost Software License, Version 1.0. # 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 # 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 <libs/preprocessor/...>` to work
foreach(test IN LISTS tests_c) foreach(test IN LISTS tests_c)
boost_test(TYPE compile SOURCES ${test}.c) boost_test(TYPE compile SOURCES ${test}.c NAME ${test}_c)
endforeach() endforeach()
@ -33,7 +33,7 @@ endforeach()
foreach(test IN LISTS tests_common_fail) 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) boost_test(TYPE compile-fail SOURCES ${test}.cpp)
endforeach() endforeach()