emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Nicolas Goaziou <mail@nicolasgoaziou.fr>
To: Alan Schmitt <alan.schmitt@polytechnique.org>
Cc: emacs-orgmode <emacs-orgmode@gnu.org>
Subject: Re: failed tests
Date: Thu, 10 Sep 2015 21:40:47 +0200	[thread overview]
Message-ID: <87zj0uqczk.fsf@nicolasgoaziou.fr> (raw)
In-Reply-To: <m24mj25rkx.fsf@charm-ecran.irisa.fr> (Alan Schmitt's message of "Thu, 10 Sep 2015 15:31:10 +0200")

Alan Schmitt <alan.schmitt@polytechnique.org> writes:

> The babel one is new. Here is the output on my terminal:
>
> "/var/folders/68/fvntfrw92y50gkk_67rkhsfw0000gn/T/tmp-orgtest/test.txt"
> Test test-org-babel/indented-cached-org-bracket-link backtrace:
>   (if (unwind-protect (setq value-50001 (let ((default-directory tempo
>   (let (form-description-50002) (if (unwind-protect (setq value-50001
>   (let ((value-50001 (cl-gensym "ert-form-evaluation-aborted-"))) (let
>   (lambda nil (let ((value-50001 (cl-gensym "ert-form-evaluation-abort
>   #[0 "\306\307!r\211q\210\310\311\312\313\314\315!\316\"\317\320%DC
>   funcall(#[0 "\306\307!r\211q\210\310\311\312\313\314\315!\316\"\31
>   ert--run-test-internal([cl-struct-ert--test-execution-info [cl-struc
>   #[0 "r\304 q\210\305 )\306\307\310\311\312\313!\314\"\315\316%DC\2
>   funcall(#[0 "r\304 q\210\305 )\306\307\310\311\312\313!\314\"\315\
>   ert-run-test([cl-struct-ert-test test-org-babel/indented-cached-org-
>   ert-run-or-rerun-test([cl-struct-ert--stats "\\(org\\|ob\\)" [[cl-st
>   ert-run-tests("\\(org\\|ob\\)" #[385 "\306\307\"\203D\211\211G\310
>   ert-run-tests-batch("\\(org\\|ob\\)")
>   ert-run-tests-batch-and-exit("\\(org\\|ob\\)")
>   (let ((org-id-track-globally t) (org-test-selector (if org-test-sele
>   org-test-run-batch-tests("\\(org\\|ob\\)")
>   eval((org-test-run-batch-tests org-test-select-re))
>   command-line-1(("--eval" "(setq vc-handled-backends nil org-startup-
>   command-line()
>   normal-top-level()
> Test test-org-babel/indented-cached-org-bracket-link condition:
>     (ert-test-failed
>      ((should
>        (let
> 	   (...)
> 	 (org-test-with-temp-text "\n* Test\n  #+<point>BEGIN_SRC emacs-lisp :file test.txt :cache yes\n    (message \"test\")\n  #+END_SRC" ... ...)))
>       :form
>       (let
> 	  ((default-directory temporary-file-directory))
> 	(org-test-with-temp-text "\n* Test\n  #+<point>BEGIN_SRC emacs-lisp :file test.txt :cache yes\n    (message \"test\")\n  #+END_SRC"
> 	  (org-babel-execute-src-block)
> 	  (string= ... ...)))
>       :value nil))
>    FAILED  190/581  test-org-babel/indented-cached-org-bracket-link
>
> Should I try to run it interactively? If so, are there instructions on
> how to do it?

The test is self contained, i.e., no `org-test-at-id' insanity. You can
reproduce the steps in a temp Org buffer and see what is wrong, possibly
debugging `org-babel-execute-src-block' in the process.

Thanks for looking into it.


Regards,

  reply	other threads:[~2015-09-10 19:39 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-09-10 11:13 failed tests Alan Schmitt
2015-09-10 12:33 ` Nicolas Goaziou
2015-09-10 13:31   ` Alan Schmitt
2015-09-10 19:40     ` Nicolas Goaziou [this message]
2015-09-16  9:45       ` Alan Schmitt

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=87zj0uqczk.fsf@nicolasgoaziou.fr \
    --to=mail@nicolasgoaziou.fr \
    --cc=alan.schmitt@polytechnique.org \
    --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).