From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nick Dokos Subject: Re: FAILED test-org/end-of-line Date: Tue, 27 Nov 2012 16:15:24 -0500 Message-ID: <5557.1354050924@alphaville> References: <87boei51gu.fsf@Rainer.invalid> Reply-To: nicholas.dokos@hp.com Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([208.118.235.92]:52348) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TdSVG-0006lf-K7 for emacs-orgmode@gnu.org; Tue, 27 Nov 2012 16:15:42 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TdSVE-0002kA-ME for emacs-orgmode@gnu.org; Tue, 27 Nov 2012 16:15:38 -0500 Received: from g1t0027.austin.hp.com ([15.216.28.34]:34996) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TdSVE-0002gw-Ew for emacs-orgmode@gnu.org; Tue, 27 Nov 2012 16:15:36 -0500 In-Reply-To: Message from Achim Gratz of "Tue\, 27 Nov 2012 19\:45\:37 +0100." <87boei51gu.fsf@Rainer.invalid> 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: Achim Gratz Cc: emacs-orgmode@gnu.org Achim Gratz wrote: >=20 > This test is failing again in the latest pre-test version of the pending > Emacs=C2=A024.3 release. This time it fails on Linux, it used to fail be= fore > in Emacs=C2=A023.3 on Win7. >=20 >=20 Ugh - one of "those"... With the minimal.org-test.el file appended, I get no problems with -q: ,---- | $ emacs -q -l ~/src/minimal.emacs/minimal.org-test.el=20 | $ echo $? | 0 `---- but -batch is another story: ,---- | $ emacs -batch -l ~/src/minimal.emacs/minimal.org-test.el=20 | Loading /home/nick/src/emacs/org/org-mode/lisp/org-loaddefs.el (source)... | Loading /home/nick/src/emacs/org/org-mode/testing/org-test.el (source)... | `labels' is an obsolete macro (as of 24.3); use `cl-labels' instead. | `flet' is an obsolete macro (as of 24.3); Use either `cl-flet' or `cl-let= f'. | `flet' is an obsolete macro (as of 24.3); Use either `cl-flet' or `cl-let= f'. | `flet' is an obsolete macro (as of 24.3); Use either `cl-flet' or `cl-let= f'. | Loading /home/nick/src/emacs/org/org-mode/testing/lisp/test-org.el (sourc= e)... | Running 1 tests (2012-11-27 16:02:29-0500) | OVERVIEW | OVERVIEW | OVERVIEW | OVERVIEW | Test test-org/end-of-line backtrace: | signal(ert-test-failed (((should (org-test-with-temp-text "* Headlin | ert-fail(((should (org-test-with-temp-text "* Headline2 :tag:" (let=20 | (if (unwind-protect (setq value-290 (let ((temp-buffer (generate-new | (let (form-description-291) (if (unwind-protect (setq value-290 (let | (let ((value-290 (ert--gensym "ert-form-evaluation-aborted-"))) (let | (lambda nil (let ((value-284 (ert--gensym "ert-form-evaluation-abort | byte-code("\306\307!=18q\210\310\216\311 =19\312\216\313\314\315\316\3 | ert--run-test-internal([cl-struct-ert--test-execution-info [cl-struc | byte-code("\306\307!\211=18\211=19r\310\311!q\210\312 d\313\223)L\210)\3 | ert-run-test([cl-struct-ert-test test-org/end-of-line "Test `org-end | ert-run-or-rerun-test([cl-struct-ert--stats test-org/end-of-line [[c | ert-run-tests(test-org/end-of-line #[(event-type &rest event-args) " | ert-run-tests-batch(test-org/end-of-line) | ert-run-tests-batch-and-exit(test-org/end-of-line) | eval-buffer(# nil "/home/nick/src/minimal.emacs/mini | load-with-code-conversion("/home/nick/src/minimal.emacs/minimal.org- | load("/home/nick/src/minimal.emacs/minimal.org-test.el" nil t) | command-line-1(("-l" "/home/nick/src/minimal.emacs/minimal.org-test. | command-line() | normal-top-level() | Test test-org/end-of-line condition: | (ert-test-failed | ((should | (org-test-with-temp-text "* Headline2 :tag:" | (let ... ...))) | :form | (let | ((temp-buffer ...)) | (with-current-buffer temp-buffer | (unwind-protect ... ...))) | :value nil)) | FAILED 1/1 test-org/end-of-line |=20 | Ran 1 tests, 0 results as expected, 1 unexpected (2012-11-27 16:02:30-050= 0) |=20 | 1 unexpected results: | FAILED test-org/end-of-line `---- and=20 ,---- | $ echo $? | 1 `---- Double-plus unnice. Nick --8<---------------cut here---------------start------------->8--- ;;; -*- mode: emacs-lisp -*- ;;; constant part (add-to-list 'load-path (expand-file-name "~/src/emacs/org/org-mode/lisp")) (add-to-list 'load-path (expand-file-name "~/src/emacs/org/org-mode/contrib= /lisp")) (add-to-list 'auto-mode-alist '("\\.\\(org\\|org_archive\\|txt\\)$" . org-m= ode)) (require 'org) (setq debug-on-error t) (setq debug-on-quit t) (setq eval-expression-print-length nil) (setq eval-expression-print-level nil) (global-set-key "\C-cl" 'org-store-link) (global-set-key "\C-ca" 'org-agenda) (add-to-list 'load-path (expand-file-name "~/src/emacs/org/org-mode/testing= ")) (load-library "org-test") (add-to-list 'load-path (expand-file-name "~/src/emacs/org/org-mode/testing= /lisp")) (load-library "test-org") (ert-run-tests-batch-and-exit 'test-org/end-of-line) --8<---------------cut here---------------end--------------->8---