about summary refs log tree commit diff
path: root/elf/Makefile
diff options
context:
space:
mode:
authorMark Wielaard <mark@klomp.org>2022-01-26 18:57:29 +0100
committerMark Wielaard <mark@klomp.org>2022-01-26 23:39:12 +0100
commitaf6dc56b8c313cb2fe2df53f92d1bc9d0a820368 (patch)
treebd8fdab8f303f04ae658bb2304c8ea7d61bdcb16 /elf/Makefile
parent604814121dbdef39f5b55e8ebdc5880deae85c72 (diff)
downloadglibc-af6dc56b8c313cb2fe2df53f92d1bc9d0a820368.tar.gz
glibc-af6dc56b8c313cb2fe2df53f92d1bc9d0a820368.tar.xz
glibc-af6dc56b8c313cb2fe2df53f92d1bc9d0a820368.zip
Guard tst-valgrind-smoke.out with run-built-tests
Prevent tst-valgrind-smoke from running when run-built-tests is not yes.

Reviewed-by: Adhemerval Zanella  <adhemerval.zanella@linaro.org>
Diffstat (limited to 'elf/Makefile')
-rw-r--r--elf/Makefile2
1 files changed, 2 insertions, 0 deletions
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)