Installed Makefile rules for NNTP testing.
[gnus] / lisp / Makefile.in
index 3d6f7f5..776d5ef 100644 (file)
@@ -35,6 +35,15 @@ clever some l: gnus-load.el
 
 install: install-el-elc list-installed-shadows
 
+# Test rules
+check: test-registry test-nntp
+
+test-registry:
+       $(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
        $(SHELL) $(top_srcdir)/mkinstalldirs "$(lispdir)"