From: H.J. Lu Date: Wed, 18 Dec 2024 18:21:27 +0000 (+0800) Subject: stdio-common: Exclude bug28 when clang is used X-Git-Tag: glibc-2.41~269 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6025b399c735d3d9f27472b11fad2cab4f62aeb5;p=thirdparty%2Fglibc.git 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 Reviewed-by: Sam James --- diff --git a/stdio-common/Makefile b/stdio-common/Makefile index b1a04fd064..e5b4ce9e00 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)