emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Nicolas Goaziou <mail@nicolasgoaziou.fr>
To: "Charles C. Berry" <ccberry@ucsd.edu>
Cc: David Talmage <david.talmage@shoutpoint.com>, emacs-orgmode@gnu.org
Subject: Re: Release 9.0 test failed: test-ob/indented-cached-org-bracket-link
Date: Sat, 19 Nov 2016 07:49:48 +0100	[thread overview]
Message-ID: <874m34m0ab.fsf@nicolasgoaziou.fr> (raw)
In-Reply-To: <alpine.OSX.2.20.1611181045520.1751@charlessmacbook.dynamic.ucsd.edu> (Charles C. Berry's message of "Fri, 18 Nov 2016 10:50:01 -0800")

Hello,

"Charles C. Berry" <ccberry@ucsd.edu> writes:

> On Fri, 18 Nov 2016, Nicolas Goaziou wrote:
>
>> Hello,
>>
>> David Talmage <david.talmage@shoutpoint.com> writes:
>>
>>> I built org 9.0 on my Mac today.  'make test' reported one failed test.  I
>>> don't know if it is important or not.  Please advise me.
>>>
>>> 'make test' said:
>>>
>>> 1 unexpected results:
>>>    FAILED  test-ob/indented-cached-org-bracket-link
>>
>> Our build bot doesn't report this error and I cannot reproduce it
>> either. None of us is using a Mac, though.
>>
>
> I have a Mac and I *can* reproduce this running `make test'. But
> following the README for interactive testing, the test succeeds:
>
> Selector: test-ob/indented-cached-org-bracket-link
> Passed:  1
> Failed:  0
> Skipped: 0
> Total:   1/1
>
> I do not know what further steps to take to debug this.

You can mimic the test:
- create a new file in `temporary-file-directory'.
- insert 

  * Test
    #+BEGIN_SRC emacs-lisp :file test.txt :cache yes
      (message "test")
    #+END_SRC"

- Put point on "BEGIN"

- Call (org-babel-execute-src-block) and compare return value with
  (concat default-directory "test.text")


Another option is to modify the test so it prints some useful debugging
information before failing (e.g., contents of default-directory and
return value of (org-babel-execute-src-block)).


Regards,

-- 
Nicolas Goaziou

  reply	other threads:[~2016-11-19  6:49 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-11-14 16:37 Release 9.0 test failed: test-ob/indented-cached-org-bracket-link David Talmage
2016-11-18  8:44 ` Nicolas Goaziou
2016-11-18 18:50   ` Charles C. Berry
2016-11-19  6:49     ` Nicolas Goaziou [this message]
2016-11-19 17:40       ` Charles C. Berry
2016-11-19 17:55         ` Achim Gratz
2016-11-19 19:15           ` John Kitchin
2016-11-20  4:03             ` Charles C. Berry
2016-11-20  8:38               ` Nicolas Goaziou
2016-11-22 14:18                 ` David Talmage

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=874m34m0ab.fsf@nicolasgoaziou.fr \
    --to=mail@nicolasgoaziou.fr \
    --cc=ccberry@ucsd.edu \
    --cc=david.talmage@shoutpoint.com \
    --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).