adding function for batch test evaluation

* testing/org-test.el (org-test-run-batch-tests): Allows for batch
  evaluation of the Org-mode test suite.
This commit is contained in:
Eric Schulte 2011-09-08 09:11:26 -06:00
parent 86409e89c0
commit 5b98dfb644
1 changed files with 8 additions and 0 deletions

View File

@ -228,6 +228,14 @@ files."
"^\\([^.]\\|\\.\\([^.]\\|\\..\\)\\).*\\.org$"))
(find-file file)))
(defun org-test-run-batch-tests ()
"Run all defined tests matching \"\\(org\\|ob\\)\".
Load all test files first."
(interactive)
(org-test-touch-all-examples)
(org-test-load)
(ert-run-tests-batch-and-exit "\\(org\\|ob\\)"))
(defun org-test-run-all-tests ()
"Run all defined tests matching \"\\(org\\|ob\\)\".
Load all test files first."