From 969d7cf89966d55fbf0732ae7bc0949a970c837d Mon Sep 17 00:00:00 2001 From: "H.J. Lu" Date: Mon, 16 Dec 2024 07:21:43 +0800 Subject: math: Exclude tgmath3-macro-tests for Clang tgmath3-macro-tests won't compile with and from Clang due to missing C23 support: https://github.com/llvm/llvm-project/issues/97335 Disable them for now when Clang is used for testing so that "make check" can finish. Signed-off-by: H.J. Lu --- math/Makefile | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'math') diff --git a/math/Makefile b/math/Makefile index d262de8bee..a9f29d6b5b 100644 --- a/math/Makefile +++ b/math/Makefile @@ -1028,7 +1028,12 @@ tgmath3-macros = \ ufromfpx \ # tgmath3-macros tgmath3-macro-tests = $(addprefix test-tgmath3-,$(tgmath3-macros)) +ifneq ($(have-test-clang),yes) +# NB: tgmath3-macro-tests won't compile with and +# from Clang due to missing C23 support: +# https://github.com/llvm/llvm-project/issues/97335 tests-tgmath += $(tgmath3-macro-tests) +endif tests += $(tests-tgmath) generated += $(addsuffix .c,$(tgmath3-macro-tests)) -- cgit v1.2.3