From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Maus Subject: Re: FYI: Org mode testing framework, Emacs 23 and 22 Date: Sun, 25 Sep 2011 09:30:48 +0200 Message-ID: <87aa9tkriv.wl%dmaus@ictsoc.de> References: <874o0veejl.wl%dmaus@ictsoc.de> <87y5y7oxyt.fsf@gmail.com> <877h5f558c.wl%dmaus@ictsoc.de> <87aaaaokpq.fsf@gmail.com> <87ehzldrsx.wl%dmaus@ictsoc.de> <877h5cfqge.fsf@gmail.com> <871uvhw05r.wl%dmaus@ictsoc.de> <87bouinb12.fsf@gmail.com> <87y5xmmdfm.wl%dmaus@ictsoc.de> <878vpgd79j.fsf@gmail.com> Mime-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: multipart/signed; boundary="pgp-sign-Multipart_Sun_Sep_25_09:30:48_2011-1"; micalg=pgp-sha256; protocol="application/pgp-signature" Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([140.186.70.92]:42260) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1R7jAr-0004kq-GB for emacs-orgmode@gnu.org; Sun, 25 Sep 2011 03:30:54 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1R7jAq-0001yp-2K for emacs-orgmode@gnu.org; Sun, 25 Sep 2011 03:30:53 -0400 Received: from app1b.xlhost.de ([213.202.242.162]:58071) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1R7jAp-0001yj-QV for emacs-orgmode@gnu.org; Sun, 25 Sep 2011 03:30:52 -0400 In-Reply-To: <878vpgd79j.fsf@gmail.com> 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: Eric Schulte Cc: David Maus , emacs-orgmode@gnu.org --pgp-sign-Multipart_Sun_Sep_25_09:30:48_2011-1 Content-Type: text/plain; charset=US-ASCII At Thu, 22 Sep 2011 07:44:42 -0600, Eric Schulte wrote: > > > > >> > >> > > >> > F test-ob-exp/org-babel-exp-src-blocks/w-no-file > >> > Testing export from buffers which are not visiting any file. > >> > (wrong-type-argument stringp nil) > >> > > >> > F test-ob-exp/org-babel-exp-src-blocks/w-no-headers > >> > Testing export without any headlines in the org-mode file. > >> > (wrong-type-argument stringp nil) > >> > > >> > F test-ob-lob/export-lob-lines > >> > Test the export of a variety of library babel call lines. > >> > (wrong-type-argument stringp nil) > >> > > >> > >> I have no idea what could be going wrong with these executions, would it > >> be difficult to generate backtraces for these failures? > > > > No, its really easy (as expected w/ Emacs): Section on interactive > > debugging ERT mentions "b" to create the backtrace. > > > > In case of w-no-file and w-no-headers `org-todo-line-regexp' is bound > > to nil, in export-lob-lines `org-maybe-keyword-time-regexp' is bound > > to nil. Backtraces are attached. > > > > So, > > Could it be that for some reason using Emacs22 all variable whose values > are set in `org-set-regexps-and-options' immediately following > > ;; Compute the regular expressions and other local variables > > in org.el are somehow not having their values set? Nope, turns out that .org is not in Emacs22's auto-mode-alist and thus the examples files are not opened in Org mode. Pushed a fix, turn on Org mode before running the test body. Now I get a beautiful: ,---- | Selector: "\\(org\\|ob\\)" | Passed: 111 | Failed: 0 | Total: 111/111 | | Started at: 2011-09-25 09:26:09+0200 | Finished. | Finished at: 2011-09-25 09:26:13+0200 | | ............................................................................................................... `---- for GNU Emacs 22.3.2 (i686-pc-linux-gnu) of 2011-05-28 on x60s with Org-mode version 7.7 (release_7.7.323.g07d11) \o/ Best, -- David -- OpenPGP... 0x99ADB83B5A4478E6 Jabber.... dmjena@jabber.org Email..... dmaus@ictsoc.de --pgp-sign-Multipart_Sun_Sep_25_09:30:48_2011-1 Content-Type: application/pgp-signature Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) iF4EABEIAAYFAk5+2KgACgkQma24O1pEeOYqvQEAljKr1Xxlw9/jqQ2pJXzl3f4Z yhUsM1KiaiEm24lz/gcBAN70EVo06B16b9zdUeTMV6tGTq3eudcEruarugfUqEGX =TN3F -----END PGP SIGNATURE----- --pgp-sign-Multipart_Sun_Sep_25_09:30:48_2011-1--