summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYasushi SHOJI <yashi@atmark-techno.com>2013-01-30 17:35:09 +0100
committerBastien Guerry <bzg@altern.org>2013-01-30 17:35:09 +0100
commit8e8f40ce2fadf46336238f7843b1c654e9dcec2c (patch)
treeafd02d3740703734f50f17129ccf66ed73a043ed
parent8798f15b72ab4d4b5c3b88b99d086959923dd92a (diff)
downloadorg-mode-8e8f40ce2fadf46336238f7843b1c654e9dcec2c.tar.gz
testing/README: Fix instructions
TINYCHANGE
-rw-r--r--testing/README13
1 files changed, 11 insertions, 2 deletions
diff --git a/testing/README b/testing/README
index 8ce7a19..9601ea7 100644
--- a/testing/README
+++ b/testing/README
@@ -15,12 +15,16 @@ 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.
+Also note that many of the current tests uses babel evaluation...
+
#+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))" \
+ --eval "(progn (org-reload) (setq org-confirm-babel-evaluate nil) \
+ (org-babel-do-load-languages 'org-babel-load-languages \
+ '((emacs-lisp . t) (sh . t) (org . t))))" \
-f org-test-run-batch-tests
#+END_SRC
@@ -43,7 +47,12 @@ load and run the test suite with the following commands.
(require 'org-test)
#+END_SRC
-2) Then run the test suite,
+2) Disable babel evaluation confirmation
+ #+BEGIN_SRC emacs-lisp
+ (setq org-confirm-babel-evaluate)
+ #+END_SRC
+
+3) Then run the test suite,
#+BEGIN_SRC emacs-lisp
(org-test-run-all-tests)
#+END_SRC