From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from gnu.wildebeest.org (gnu.wildebeest.org [45.83.234.184]) by sourceware.org (Postfix) with ESMTPS id 0EA3C3857825 for ; Wed, 26 Jan 2022 19:57:49 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 0EA3C3857825 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=klomp.org Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=klomp.org Received: from reform (deer0x12.wildebeest.org [172.31.17.148]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by gnu.wildebeest.org (Postfix) with ESMTPSA id 5FD54302FB94; Wed, 26 Jan 2022 20:57:46 +0100 (CET) Received: by reform (Postfix, from userid 1000) id E792F2E821BC; Wed, 26 Jan 2022 20:57:45 +0100 (CET) From: Mark Wielaard To: libc-alpha@sourceware.org Cc: Mark Wielaard Subject: [PATCH] Guard tst-valgrind-smoke.out with run-built-tests Date: Wed, 26 Jan 2022 20:57:37 +0100 Message-Id: <20220126195737.45163-1-mark@klomp.org> X-Mailer: git-send-email 2.30.2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-9.7 required=5.0 tests=BAYES_00, GIT_PATCH_0, JMQ_SPF_NEUTRAL, KAM_DMARC_STATUS, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.4 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on server2.sourceware.org X-BeenThere: libc-alpha@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Libc-alpha mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 26 Jan 2022 19:57:50 -0000 Prevent tst-valgrind-smoke from running when run-built-tests is not yes. --- elf/Makefile | 2 ++ 1 file changed, 2 insertions(+) Resent as separate PATCH to get it into patchwork. diff --git a/elf/Makefile b/elf/Makefile index daafb5cf12..775c755291 100644 --- a/elf/Makefile +++ b/elf/Makefile @@ -530,7 +530,9 @@ endif endif endif +ifeq ($(run-built-tests),yes) tests-special += $(objpfx)tst-valgrind-smoke.out +endif $(objpfx)tst-valgrind-smoke.out: tst-valgrind-smoke.sh $(objpfx)ld.so $(objpfx)valgrind-test $(SHELL) $< $(objpfx)ld.so $(rtlddir)/$(rtld-installed-name) '$(test-wrapper-env)' \ '$(run-program-env)' '$(rpath-link)' $(objpfx)valgrind-test > $@; $(evaluate-test) -- 2.30.2