summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIlya Shlyakhter <ilya_shl@alum.mit.edu>2012-03-30 22:11:22 -0400
committerBastien Guerry <bzg@altern.org>2012-03-31 10:29:16 +0200
commit1977df99a4a17b7495b6a7e2ad373d4e7677a757 (patch)
tree1e587cb21acb78cde039a1e15372579b0378462c
parent8a02f48547df4f11b0402aa0a4fe339e3b85c608 (diff)
downloadorg-mode-1977df99a4a17b7495b6a7e2ad373d4e7677a757.tar.gz
Testing: Corrected the command to run batch tests given in README
testing/README (running batch tests): Added missing paths to the command. Make sure to load the org-mode code from the git checkout rather than whatever Org is installed in Emacs directories. TINYCHANGE
-rw-r--r--testing/README11
1 files changed, 7 insertions, 4 deletions
diff --git a/testing/README b/testing/README
index 4a68174..f4253c7 100644
--- a/testing/README
+++ b/testing/README
@@ -12,10 +12,13 @@ repository]].
The simplest way to run the Org-mode test suite is from the command
line with the following invocation. Note that the paths below are
relative to the base of the Org-mode directory.
-#+BEGIN_SRC sh
- emacs -Q --batch -l lisp/org.el -l testing/org-test.el \
- --eval "(progn (org-reload) (setq org-confirm-babel-evaluate nil))" \
- -f org-test-run-batch-tests
+#+BEGIN_SRC sh :dir (expand-file-name "..")
+ # For Emacs earlier than 24, add -L /path/to/ert
+ emacs -Q --batch \
+ -L lisp/ -L testing/ -L testing/lisp -l lisp/org.el \
+ -l lisp/org-id.el -l testing/org-test.el \
+ --eval "(progn (org-reload) (setq org-confirm-babel-evaluate nil))" \
+ -f org-test-run-batch-tests
#+END_SRC
The options in the above command are explained below.