emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Nick Dokos <nicholas.dokos@hp.com>
To: Achim Gratz <Stromeko@nexgo.de>
Cc: emacs-orgmode@gnu.org
Subject: Re: FAILED test-org/end-of-line
Date: Tue, 27 Nov 2012 16:15:24 -0500	[thread overview]
Message-ID: <5557.1354050924@alphaville> (raw)
In-Reply-To: Message from Achim Gratz <Stromeko@nexgo.de> of "Tue\, 27 Nov 2012 19\:45\:37 +0100." <87boei51gu.fsf@Rainer.invalid>

Achim Gratz <Stromeko@nexgo.de> wrote:

> 
> This test is failing again in the latest pre-test version of the pending
> Emacs 24.3 release.  This time it fails on Linux, it used to fail before
> in Emacs 23.3 on Win7.
> 
> 

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 
| $ echo $?
| 0
`----

but -batch is another story:

,----
| $ emacs -batch -l ~/src/minimal.emacs/minimal.org-test.el 
| 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-letf'.
| `flet' is an obsolete macro (as of 24.3); Use either `cl-flet' or `cl-letf'.
| `flet' is an obsolete macro (as of 24.3); Use either `cl-flet' or `cl-letf'.
| Loading /home/nick/src/emacs/org/org-mode/testing/lisp/test-org.el (source)...
| 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 
|   (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!\x18q\210\310\216\311 \x19\312\216\313\314\315\316\3
|   ert--run-test-internal([cl-struct-ert--test-execution-info [cl-struc
|   byte-code("\306\307!\211\x18\211\x19r\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(#<buffer  *load*> 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
| 
| Ran 1 tests, 0 results as expected, 1 unexpected (2012-11-27 16:02:30-0500)
| 
| 1 unexpected results:
|    FAILED  test-org/end-of-line
`----

and 

,----
| $ 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-mode))

(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---

  reply	other threads:[~2012-11-27 21:15 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-11-27 18:45 FAILED test-org/end-of-line Achim Gratz
2012-11-27 21:15 ` Nick Dokos [this message]
2012-11-27 21:47   ` Nick Dokos
2012-11-28 13:07     ` Nicolas Goaziou
2012-11-28 15:51       ` Nick Dokos
2012-11-28 15:53         ` Nicolas Goaziou
2012-11-28 17:51           ` Achim Gratz
2012-11-28 17:59             ` Nick Dokos

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=5557.1354050924@alphaville \
    --to=nicholas.dokos@hp.com \
    --cc=Stromeko@nexgo.de \
    --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).