From d472c02274a1a99d0571c7d2f105120d13b0c94d Mon Sep 17 00:00:00 2001 From: Bryce Kwon Date: Sat, 7 Nov 2026 08:37:14 -1000 Subject: Check the Lua-less build through the helpers t0006 ran build/nolua/cgit by its path, so Valgrind never saw it, and its page checks passed a page that logged an error. The Makefile and README said the suite runs both binaries the same way, though only these four tests run the one without Lua. --- Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 18b687d..50c68eb 100644 --- a/Makefile +++ b/Makefile @@ -86,7 +86,8 @@ cgit: $(CGIT_ROOT)/$(BUILDDIR)/cgit $(EXTRA_GIT_TARGETS) $(GIT_BUILD_FLAGS) # The same program without Lua, built beside the full one so a change cannot -# break that configuration unnoticed. The suite runs both. +# break that configuration unnoticed. make test builds it, and t0006 checks +# that it serves pages, runs exec filters and refuses lua ones. .PHONY: cgit-nolua cgit-nolua: +@$(MAKE) -C $(GITDIR) -f $(CGIT_ROOT)/$(SRCDIR)/cgit.mk \ -- cgit 2.12.1