From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: Release 9.0 test failed: test-ob/indented-cached-org-bracket-link Date: Sat, 19 Nov 2016 07:49:48 +0100 Message-ID: <874m34m0ab.fsf@nicolasgoaziou.fr> References: <8737ipnpnk.fsf@nicolasgoaziou.fr> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:55562) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1c7zTC-0003l3-JN for emacs-orgmode@gnu.org; Sat, 19 Nov 2016 01:49:51 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1c7zTB-0000XB-Lk for emacs-orgmode@gnu.org; Sat, 19 Nov 2016 01:49:50 -0500 Received: from relay4-d.mail.gandi.net ([2001:4b98:c:538::196]:52067) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1c7zTB-0000Uu-F9 for emacs-orgmode@gnu.org; Sat, 19 Nov 2016 01:49:49 -0500 In-Reply-To: (Charles C. Berry's message of "Fri, 18 Nov 2016 10:50:01 -0800") 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" To: "Charles C. Berry" Cc: David Talmage , emacs-orgmode@gnu.org Hello, "Charles C. Berry" writes: > On Fri, 18 Nov 2016, Nicolas Goaziou wrote: > >> Hello, >> >> David Talmage 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