[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] error while upgrading to 8.3.5
From: |
John Kitchin |
Subject: |
Re: [O] error while upgrading to 8.3.5 |
Date: |
Wed, 27 Jul 2016 09:03:32 -0400 |
User-agent: |
mu4e 0.9.16; emacs 25.1.50.1 |
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 <address@hidden> 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