summaryrefslogtreecommitdiff
path: root/test/Makefile.in
diff options
context:
space:
mode:
authorMichael Albinus <michael.albinus@gmx.de>2021-11-19 16:50:03 +0100
committerMichael Albinus <michael.albinus@gmx.de>2021-11-19 16:50:03 +0100
commitcb612c51d6c428aa7d8fd01f1b3fde13284c1c16 (patch)
treea85630c03ef1d01f7c8220bf2b12ef631bd8ae64 /test/Makefile.in
parentc496773f377a7154d458d45e1e42f5733b61301c (diff)
downloademacs-cb612c51d6c428aa7d8fd01f1b3fde13284c1c16.tar.gz
Add more test jobs for emba
* test/Makefile.in (SUBDIRS): Suppress "*auto-save-list". (SUBDIR_TARGETS): New variable. (subdir_template): Set it. (subdir-targets): New target. * test/infra/gitlab-ci.yml (variables): Add CI_DEBUG_TRACE. (build-image-inotify): Remove timeout. (generator, test-jobs-pipeline): New jobs. (test-lisp-inotify, test-lisp-net-inotify): Comment. * test/infra/test-jobs-generator.sh: New script.
Diffstat (limited to 'test/Makefile.in')
-rw-r--r--test/Makefile.in14
1 files changed, 11 insertions, 3 deletions
diff --git a/test/Makefile.in b/test/Makefile.in
index 7bef1c36605..39d7b1d4e48 100644
--- a/test/Makefile.in
+++ b/test/Makefile.in
@@ -31,7 +31,7 @@
SHELL = @SHELL@
srcdir = @srcdir@
-abs_top_srcdir=@abs_top_srcdir@
+abs_top_srcdir = @abs_top_srcdir@
top_builddir = @top_builddir@
VPATH = $(srcdir)
@@ -67,7 +67,7 @@ elpa_opts = $(foreach el,$(elpa_els),$(and $(wildcard $(el)),-L $(dir $(el)) -l
# directory, we can use emacs --chdir.
EMACS = ../src/emacs
-EMACS_EXTRAOPT=
+EMACS_EXTRAOPT =
# Command line flags for Emacs.
# Apparently MSYS bash would convert "-L :" to "-L ;" anyway,
@@ -252,9 +252,12 @@ endef
$(foreach test,${TESTS},$(eval $(call test_template,${test})))
## Get the tests for only a specific directory.
-SUBDIRS = $(sort $(shell cd ${srcdir} && find lib-src lisp misc src -type d ! -path "*resources*" -print))
+SUBDIRS = $(sort $(shell cd ${srcdir} && find lib-src lisp misc src -type d \
+ ! \( -path "*resources*" -o -path "*auto-save-list" \) -print))
+SUBDIR_TARGETS =
define subdir_template
+ SUBDIR_TARGETS += check-$(subst /,-,$(1))
.PHONY: check-$(subst /,-,$(1))
check-$(subst /,-,$(1)):
@${MAKE} check LOGFILES="$(patsubst %.el,%.log, \
@@ -367,3 +370,8 @@ maintainer-clean: distclean bootstrap-clean
check-declare:
$(emacs) -l check-declare \
--eval '(check-declare-directory "$(srcdir)")'
+
+.PHONY: subdir-targets
+
+subdir-targets:
+ @echo $(SUBDIR_TARGETS)