]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
stdio-common: Exclude bug28 when clang is used
authorH.J. Lu <hjl.tools@gmail.com>
Wed, 18 Dec 2024 18:21:27 +0000 (02:21 +0800)
committerH.J. Lu <hjl.tools@gmail.com>
Fri, 20 Dec 2024 21:14:01 +0000 (05:14 +0800)
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>
stdio-common/Makefile

index b1a04fd0647918f247d9ff400aaf2997d4a58953..e5b4ce9e0055375fcdd5c4a91627f7546f51681a 100644 (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)