]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
Rules: Set up test infrastructure if tests-container is set
authorFlorian Weimer <fweimer@redhat.com>
Wed, 4 Feb 2026 08:46:07 +0000 (09:46 +0100)
committerFlorian Weimer <fweimer@redhat.com>
Wed, 4 Feb 2026 08:46:07 +0000 (09:46 +0100)
Previously, if a subdirectory had only container-based tests (via
tests-container), the Makefile rules for the test infrastructure
were excluded.

Rules

diff --git a/Rules b/Rules
index b07400a9793a9f72f2bcc20478be36c3e51d275f..9d8587a148fc4d925b94d55791d38d2a0203e948 100644 (file)
--- a/Rules
+++ b/Rules
@@ -372,7 +372,7 @@ $(1)-mcheck-ENV = LD_PRELOAD=$(common-objpfx)/malloc/libc_malloc_debug.so
 endef
 $(foreach t,$(tests-mcheck),$(eval $(call mcheck-ENVS,$(t))))
 
-ifneq "$(strip $(tests) $(tests-internal) $(xtests) $(test-srcs))" ""
+ifneq "$(strip $(tests) $(tests-container) $(tests-internal) $(xtests) $(test-srcs))" ""
 # These are the implicit rules for making test outputs
 # from the test programs and whatever input files are present.