Installed Makefile rules for NNTP testing.
authorDavid Engster <dengste@eml.cc>
Wed, 20 Apr 2011 18:34:49 +0000 (20:34 +0200)
committerDavid Engster <dengste@eml.cc>
Wed, 20 Apr 2011 18:34:49 +0000 (20:34 +0200)
* Makefile.in (test-nntp): New rule.
(check): Add it.
(test-registry): Change '$(EMACS_COMP)' to '$(EMACS) $(FLAGS)'.

lisp/ChangeLog
lisp/Makefile.in

index d137b42..885e0ed 100644 (file)
@@ -1,3 +1,11 @@
+2011-04-20  David Engster  <dengste@eml.cc>
+
+       * tests/gnustest-nntp.el: New file for simple NNTP testing.
+
+       * Makefile.in (test-nntp): New rule.
+       (check): Add it.
+       (test-registry): Change '$(EMACS_COMP)' to '$(EMACS) $(FLAGS)'.
+
 2011-04-20  Katsumi Yamaoka  <yamaoka@jpl.org>
 
        * gnus-registry.el (gnus-registry-action)
 2011-04-20  Katsumi Yamaoka  <yamaoka@jpl.org>
 
        * gnus-registry.el (gnus-registry-action)
index 58d99a1..776d5ef 100644 (file)
@@ -36,10 +36,13 @@ clever some l: gnus-load.el
 install: install-el-elc list-installed-shadows
 
 # Test rules
 install: install-el-elc list-installed-shadows
 
 # Test rules
-check: test-registry
+check: test-registry test-nntp
 
 test-registry:
 
 test-registry:
-       $(EMACS_COMP) -l ert -l gnus-registry.el -f ert-run-tests-batch-and-exit
+       $(EMACS) $(FLAGS) -l ert -l gnus-registry.el -f ert-run-tests-batch-and-exit
+
+test-nntp:
+       $(EMACS) $(FLAGS) -l ert -l tests/gnustest-nntp.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
 
 # This entry will never install .el files if there are no .elc files.
 install-el: gnus-load.el