emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: John Kitchin <jkitchin@andrew.cmu.edu>
To: Nicolas Goaziou <mail@nicolasgoaziou.fr>
Cc: Vikas Rawal <vikasrawal@gmail.com>,
	org-mode mailing list <emacs-orgmode@gnu.org>
Subject: Re: error while upgrading to 8.3.5
Date: Wed, 27 Jul 2016 09:03:32 -0400	[thread overview]
Message-ID: <m2shuvfd23.fsf@Johns-MacBook-Air.local> (raw)
In-Reply-To: <87vazsu6k5.fsf@saiph.selenimh>

With the most current master, I get these two failed tests:

2 unexpected results:
   FAILED  ob-shell/bash-uses-assoc-arrays
   FAILED  test-ob/indented-cached-org-bracket-link

This is with a Mac, and GNU Emacs 25.1.50.1 (x86_64-apple-darwin13.4.0, NS appkit-1265.21 Version 10.9.5 (Build 13F1808))
 of 2016-07-11


There seem to be two identically named tests (both fail for me).

(ert-deftest ob-shell/bash-uses-assoc-arrays ()
  "Bash associative arrays"
  (org-test-at-id "bec1a5b0-4619-4450-a8c0-2a746b44bf8d"
    (org-babel-next-src-block 2)
    (should (equal "two" (org-babel-execute-src-block)))))


(ert-deftest ob-shell/bash-uses-assoc-arrays ()
  "Bash associative arrays as strings for the row"
  (org-test-at-id "82320a48-3409-49d7-85c9-5de1c6d3ff87"
    (org-babel-next-src-block 2)
    (should (equal "20 cm" (org-babel-execute-src-block)))))


The code in the should macro in this test: test-ob/indented-cached-org-bracket-link
evaluates to true for me, but still fails in make test.
    
Nicolas Goaziou writes:

> Hello,
>
> Vikas Rawal <vikasrawal@gmail.com> writes:
>
>> * Output of BTEST_RE=indented-cached-org-bracket-link make test
>>
>> Test test-ob/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  1/1  test-ob/indented-cached-org-bracket-link
>
> This doesn't ring a bell. It would help to know what is hidden behind
> the ellipsis.
>
>> Ran 1 tests, 0 results as expected, 1 unexpected (2016-07-26 05:06:12+0530)
>>
>> 1 unexpected results:
>>    FAILED  test-ob/indented-cached-org-bracket-link
>>
>> * (org-parse-time-string "<2014-03-04 Tue>”)
>> (apply #'encode-time (org-parse-time-string "<2014-03-04 Tue>"))
>>
>> Evaluating these in emacs does not seem to do anything. No message.
>
> The return value is displayed in the minibuffer. Use C-x C-e right after
> the closing parens of each form.
>
> Also, did you set some weird variable like `org-extend-today-until'?
>
> Regards,


-- 
Professor John Kitchin
Doherty Hall A207F
Department of Chemical Engineering
Carnegie Mellon University
Pittsburgh, PA 15213
412-268-7803
@johnkitchin
http://kitchingroup.cheme.cmu.edu

      reply	other threads:[~2016-07-27 13:03 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-07-25  0:42 error while upgrading to 8.3.5 Vikas Rawal
2016-07-25  5:55 ` Colin Baxter
2016-07-25  8:52 ` Nicolas Goaziou
2016-07-25 13:14   ` Vikas Rawal
2016-07-25 15:53     ` Nicolas Goaziou
2016-07-25 23:39       ` Vikas Rawal
2016-07-26  8:50         ` Nicolas Goaziou
2016-07-27 13:03           ` John Kitchin [this message]

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=m2shuvfd23.fsf@Johns-MacBook-Air.local \
    --to=jkitchin@andrew.cmu.edu \
    --cc=emacs-orgmode@gnu.org \
    --cc=mail@nicolasgoaziou.fr \
    --cc=vikasrawal@gmail.com \
    /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).