aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2024-12-19 02:21:27 +0800
committerH.J. Lu <hjl.tools@gmail.com>2024-12-21 05:14:01 +0800
commit6025b399c735d3d9f27472b11fad2cab4f62aeb5 (patch)
treed5b21d4bb96eeffeb392c37971da4218cf06492f
parent40bf25b75418a7fa22ffc22dc321465ae7061cd2 (diff)
downloadglibc-6025b399c735d3d9f27472b11fad2cab4f62aeb5.zip
glibc-6025b399c735d3d9f27472b11fad2cab4f62aeb5.tar.gz
glibc-6025b399c735d3d9f27472b11fad2cab4f62aeb5.tar.bz2
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>
-rw-r--r--stdio-common/Makefile11
1 files changed, 10 insertions, 1 deletions
diff --git a/stdio-common/Makefile b/stdio-common/Makefile
index b1a04fd..e5b4ce9 100644
--- a/stdio-common/Makefile
+++ b/stdio-common/Makefile
@@ -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)