From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ilya Shlyakhter Subject: [PATCH] Testing: Corrected the command to run batch tests given in testing/README Date: Fri, 30 Mar 2012 22:14:20 -0400 Message-ID: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="------------070805020802000503050607" Return-path: Received: from eggs.gnu.org ([208.118.235.92]:60639) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SDnpv-0005ig-SQ for emacs-orgmode@gnu.org; Fri, 30 Mar 2012 22:14:41 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SDnpt-0003XP-VU for emacs-orgmode@gnu.org; Fri, 30 Mar 2012 22:14:39 -0400 Received: from plane.gmane.org ([80.91.229.3]:37205) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SDnpt-0003Wk-Oh for emacs-orgmode@gnu.org; Fri, 30 Mar 2012 22:14:37 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1SDnpo-0004pD-61 for emacs-orgmode@gnu.org; Sat, 31 Mar 2012 04:14:32 +0200 Received: from dhcp-140-247-108-225.fas.harvard.edu ([140.247.108.225]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 31 Mar 2012 04:14:32 +0200 Received: from ilya_shl by dhcp-140-247-108-225.fas.harvard.edu with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 31 Mar 2012 04:14:32 +0200 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org This is a multi-part message in MIME format. --------------070805020802000503050607 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Added some details for how to run the test suite in batch mode. --------------070805020802000503050607 Content-Type: text/plain; charset=UTF-8; x-mac-type="0"; x-mac-creator="0"; name="0001-Testing-Corrected-the-command-to-run-batch-tests-giv.patch" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename*0="0001-Testing-Corrected-the-command-to-run-batch-tests-giv.pa"; filename*1="tch" >From 2cf6b6f529748a2a39927ccfdfa583d7f00cc9df Mon Sep 17 00:00:00 2001 From: Ilya Shlyakhter 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 --------------070805020802000503050607--