]> Lady’s Gitweb - Gitweb/commitdiff
gitweb: remove "test" and "test-installed" targets
authorÆvar Arnfjörð Bjarmason <redacted>
Tue, 28 Jun 2022 10:15:59 +0000 (12:15 +0200)
committerLady <redacted>
Mon, 6 Apr 2026 04:51:33 +0000 (00:51 -0400)
Remove the special "test" targets for gitweb added in
958a8467216 (gitweb/Makefile: Add 'test' and 'test-installed' targets,
2010-09-26). Unlike e.g. "contrib/scalar" and "contrib/subtree" the
"gitweb" tests themselves live in our top-level t/ directory.

It therefore doesn't make sense to maintain this indirection, no more
than it would to have a "git-send-email-test". By dropping it we'll
also free other tests to use the t95*.sh prefix.

These removed targets are unlikely to be used by anyone, and to the
extent that they are we can easily use an invocation like this
instead:

make test T='t[0-9]*gitweb*.sh'

Signed-off-by: Ævar Arnfjörð Bjarmason <redacted>
Signed-off-by: Junio C Hamano <redacted>
Makefile

index 4ba576e5a9805c06789a0ec65d4568ad7e6a3a84eafea7649d387e9527996504..075cc02b6578a4c8a1da6b8bf1c83cc91c162483a66d5489b3ebfd15404ab002 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -183,17 +183,6 @@ $(MAK_DIR_GITWEB)static/gitweb.js: $(addprefix $(MAK_DIR_GITWEB),$(GITWEB_JSLIB_
        cat $^ >$@+ && \
        mv $@+ $@
 
        cat $^ >$@+ && \
        mv $@+ $@
 
-### Testing rules
-
-.PHONY: test
-test:
-       $(MAKE) -C ../t gitweb-test
-
-.PHONY: test-installed
-test-installed:
-       GITWEB_TEST_INSTALLED='$(DESTDIR_SQ)$(gitwebdir_SQ)' \
-               $(MAKE) -C ../t gitweb-test
-
 ### Installation rules
 
 .PHONY: install
 ### Installation rules
 
 .PHONY: install
This page took 0.205214 seconds and 4 git commands to generate.