From: Gregory Heytings Date: Wed, 16 Aug 2023 15:58:48 +0000 (+0000) Subject: Add a target to byte-compile all tests without running them X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=1e2d0775151f144830dfb9e9f1cd460f1e480270;p=emacs.git Add a target to byte-compile all tests without running them * test/Makefile.in: Add a check-byte-compile target. * Makefile.in: Add the check-byte-compile target to CHECK_TARGETS. --- diff --git a/Makefile.in b/Makefile.in index b47e88f6970..fdd9353e254 100644 --- a/Makefile.in +++ b/Makefile.in @@ -1116,7 +1116,7 @@ TAGS tags: lib lib-src # src $(MAKE) -C doc/lispref tags $(MAKE) -C doc/misc tags -CHECK_TARGETS = check check-maybe check-expensive check-all +CHECK_TARGETS = check check-maybe check-expensive check-all check-byte-compile .PHONY: $(CHECK_TARGETS) $(CHECK_TARGETS): all $(MAKE) -C test $@ diff --git a/test/Makefile.in b/test/Makefile.in index e2a14c4dd92..4e53efeb9a8 100644 --- a/test/Makefile.in +++ b/test/Makefile.in @@ -326,6 +326,9 @@ check-all: mostlyclean check-no-automated-subdir check-maybe: check-no-automated-subdir @${MAKE} check-doit SELECTOR="${SELECTOR_ACTUAL}" +check-byte-compile: + @${MAKE} $(ELFILES:.el=.elc) + ## Run the tests. .PHONY: check-doit ## We can't put LOGFILES as prerequisites, because that would stop the