From 7ad5a5eb008315bf40061e5aad8a8d001787f2bf Mon Sep 17 00:00:00 2001 From: Gregory Heytings Date: Sun, 23 Jan 2022 21:45:21 +0000 Subject: [PATCH] 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. --- Makefile.in | 2 +- test/Makefile.in | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/Makefile.in b/Makefile.in index 8ac6f52746..e1acf13551 100644 --- a/Makefile.in +++ b/Makefile.in @@ -1014,7 +1014,7 @@ TAGS tags: $(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 9ad994e110..85e1e0c5e5 100644 --- a/test/Makefile.in +++ b/test/Makefile.in @@ -327,6 +327,9 @@ .PHONY: 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 -- 2.34.1