From cc4798c2bf6acfb9e580fab6e4bad469f600e212 Mon Sep 17 00:00:00 2001 From: Mark Wielaard Date: Wed, 26 Jan 2022 18:57:29 +0100 Subject: [PATCH] Guard tst-valgrind-smoke.out with run-built-tests Prevent tst-valgrind-smoke from running when run-built-tests is not yes. --- elf/Makefile | 2 ++ 1 file changed, 2 insertions(+) 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.34.1