From 6025b399c735d3d9f27472b11fad2cab4f62aeb5 Mon Sep 17 00:00:00 2001 From: "H.J. Lu" Date: Thu, 19 Dec 2024 02:21:27 +0800 Subject: [PATCH] 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 --- stdio-common/Makefile | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) 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)