1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-11-24 07:20:37 +00:00

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.
This commit is contained in:
Gregory Heytings 2023-08-16 15:58:48 +00:00
parent c287a0fdc7
commit 1e2d077515
2 changed files with 4 additions and 1 deletions

View File

@ -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 $@

View File

@ -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