[gnus git] branch master updated: n0-15-48-g9cfcdab =1= Add new Makefile rules for starting test-suite.

David Engster <[email protected]>
Newsgroups gmane.emacs.gnus.cvs
Message-ID <[email protected]>
       via  9cfcdab4e707ad4bed1cdd30840c71a10696eebb (commit)
      from  558e0e07ed1151d12ca7a8c63e50b0cc7acbeb0a (commit)


- Log -----------------------------------------------------------------
commit 9cfcdab4e707ad4bed1cdd30840c71a10696eebb
Author: David Engster <[email protected]>
Date:   Thu Apr 7 20:37:46 2011 +0200

    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.

diff --git a/ChangeLog b/ChangeLog
index a0ac18a..04b4566 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2011-04-07  David Engster  <[email protected]>
+
+	* Makefile.in (check): New rule for starting test-suite.
+
 2011-04-06  David Engster  <[email protected]>
 
 	* Makefile.in (lick-fail-on-warning): New rule to compile with warnings
diff --git a/Makefile.in b/Makefile.in
index b0d335a..537ef84 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 5d4a8ee..447675c 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,7 @@
+2011-04-07  David Engster  <[email protected]>
+
+	* Makefile.in (check, test-registry): New rules for test-suite.
+
 2011-04-06  David Engster  <[email protected]>
 
 	* registry.el, gnus-registry.el: Use `ignore-errors' instead of third
diff --git a/lisp/Makefile.in b/lisp/Makefile.in
index 3d6f7f5..58d99a1 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)"

-----------------------------------------------------------------------
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we listed those
revisions in full, above.

Summary of changes:
 ChangeLog        |    4 ++++
 Makefile.in      |    3 +++
 lisp/ChangeLog   |    4 ++++
 lisp/Makefile.in |    6 ++++++
 4 files changed, 17 insertions(+), 0 deletions(-)

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Gnus Project".

The branch, master has been updated


hooks/post-receive
-- 
Gnus Project
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.