From: H.J. Lu Date: Sun, 15 Dec 2024 23:21:43 +0000 (+0800) Subject: math: Exclude tgmath3-macro-tests for Clang X-Git-Tag: glibc-2.41~262 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=969d7cf89966d55fbf0732ae7bc0949a970c837d;p=thirdparty%2Fglibc.git 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 --- 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))