]> git.eshelyaron.com Git - emacs.git/commitdiff
Add a target to byte-compile all tests without running them
authorGregory Heytings <gregory@heytings.org>
Wed, 16 Aug 2023 15:58:48 +0000 (15:58 +0000)
committerGregory Heytings <gregory@heytings.org>
Wed, 16 Aug 2023 16:06:40 +0000 (16:06 +0000)
* test/Makefile.in: Add a check-byte-compile target.
* Makefile.in: Add the check-byte-compile target to CHECK_TARGETS.

Makefile.in
test/Makefile.in

index b47e88f69704563c8d2690bcd0138a1fae77bb25..fdd9353e254903be45c960b5fb3089da2041a094 100644 (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 $@
index e2a14c4dd9237d6c676298bded1d52e32f12c90e..4e53efeb9a80fb5e1581356b88436c4c55a084e7 100644 (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