[PATCH 3/7] Rules: Set up test infrastructure if tests-container is set
Florian Weimer
fweimer@redhat.com
Fri Jan 30 16:05:25 GMT 2026
Previously, if a subdirectory had only container-based tests (via
tests-container), the Makefile rules for the test infrastructure
were excluded.
---
Rules | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Rules b/Rules
index b07400a979..9d8587a148 100644
--- 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.
--
2.52.0
More information about the Libc-alpha
mailing list