From 9cfcdab4e707ad4bed1cdd30840c71a10696eebb Mon Sep 17 00:00:00 2001 From: David Engster Date: Thu, 7 Apr 2011 20:37:46 +0200 Subject: [PATCH] Add new Makefile rules for starting test-suite. * Makefile.in (check): New rule for starting test-suite. * lisp/Makefile.in (check, test-registry): New rules for test-suite. --- ChangeLog | 4 ++++ Makefile.in | 3 +++ lisp/ChangeLog | 4 ++++ lisp/Makefile.in | 6 ++++++ 4 files changed, 17 insertions(+) diff --git a/ChangeLog b/ChangeLog index a0ac18ac5..04b4566a7 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2011-04-07 David Engster + + * Makefile.in (check): New rule for starting test-suite. + 2011-04-06 David Engster * Makefile.in (lick-fail-on-warning): New rule to compile with warnings diff --git a/Makefile.in b/Makefile.in index b0d335a6b..537ef843b 100644 --- a/Makefile.in +++ b/Makefile.in @@ -71,6 +71,9 @@ uninstall: GNUS-NEWS: texi/gnus-news.texi cd texi && $(MAKE) GNUS-NEWS +check: + cd lisp && $(MAKE) EMACS="$(EMACS)" lispdir="$(lispdir)" check + # Rule for Lars and nobody else. some: cd lisp && $(MAKE) EMACS="$(EMACS)" some diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 5d4a8ee3b..447675c83 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,7 @@ +2011-04-07 David Engster + + * Makefile.in (check, test-registry): New rules for test-suite. + 2011-04-06 David Engster * registry.el, gnus-registry.el: Use `ignore-errors' instead of third diff --git a/lisp/Makefile.in b/lisp/Makefile.in index 3d6f7f537..58d99a1e2 100644 --- a/lisp/Makefile.in +++ b/lisp/Makefile.in @@ -35,6 +35,12 @@ clever some l: gnus-load.el install: install-el-elc list-installed-shadows +# Test rules +check: test-registry + +test-registry: + $(EMACS_COMP) -l ert -l gnus-registry.el -f ert-run-tests-batch-and-exit + # This entry will never install .el files if there are no .elc files. install-el: gnus-load.el $(SHELL) $(top_srcdir)/mkinstalldirs "$(lispdir)" -- 2.34.1