emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Ilya Shlyakhter <ilya_shl@alum.mit.edu>
To: emacs-orgmode@gnu.org
Subject: [PATCH] Testing: Corrected the command to run batch tests given in testing/README
Date: Fri, 30 Mar 2012 22:14:20 -0400	[thread overview]
Message-ID: <jl5p9s$ncc$1@dough.gmane.org> (raw)

[-- Attachment #1: Type: text/plain, Size: 64 bytes --]

Added some details for how to run the test suite in batch mode.

[-- Attachment #2: 0001-Testing-Corrected-the-command-to-run-batch-tests-giv.patch --]
[-- Type: text/plain, Size: 1495 bytes --]

From 2cf6b6f529748a2a39927ccfdfa583d7f00cc9df Mon Sep 17 00:00:00 2001
From: Ilya Shlyakhter <ilya_shl@alum.mit.edu>
Date: Fri, 30 Mar 2012 22:11:22 -0400
Subject: [PATCH] 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
---
 testing/README |   11 +++++++----
 1 file 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.
-- 
1.7.9.3


             reply	other threads:[~2012-03-31  2:14 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-03-31  2:14 Ilya Shlyakhter [this message]
2012-03-31  8:29 ` [PATCH] Testing: Corrected the command to run batch tests given in testing/README Bastien

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='jl5p9s$ncc$1@dough.gmane.org' \
    --to=ilya_shl@alum.mit.edu \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).