stdio-common: Exclude bug28 when clang is used

Clang 19 takes a very long time, it ran more than 27 minutes on Intel Core
i7-1195G7 before the process was killed, to compile bug28.c:

https://github.com/llvm/llvm-project/issues/120462

Exclude it when Clang is used for testing.

Signed-off-by: H.J. Lu <hjl.tools@gmail.com>
Reviewed-by: Sam James <sam@gentoo.org>
This commit is contained in:
H.J. Lu 2024-12-19 02:21:27 +08:00
parent 40bf25b754
commit 6025b399c7

View file

@ -200,7 +200,6 @@ tests := \
bug25 \
bug26 \
bug27 \
bug28 \
bug29 \
errnobug \
scanf1 \
@ -317,6 +316,16 @@ tests := \
xbug \
# tests
# Clang 19 takes a very long time, it ran more than 27 minutes on Intel
# Core i7-1195G7 before the process was killed, to compile bug28.c:
# https://github.com/llvm/llvm-project/issues/120462
# Exclude it when Clang is used for testing.
ifneq ($(have-test-clang),yes)
tests += \
bug28 \
# tests
endif
ifeq ($(run-built-tests),yes)
ifeq (yes,$(build-shared))
ifneq ($(PERL),no)