emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Marco Wahl <marcowahlsoft@gmail.com>
To: emacs-orgmode@gnu.org
Subject: Re: sed tests
Date: Tue, 23 Jan 2018 19:54:55 +0100	[thread overview]
Message-ID: <84o9lk4d8g.fsf@gmail.com> (raw)
In-Reply-To: CABUh-74XeKv-N3ByjfH=m-6nRyvX1DByC-g_=P3nhqXKuZ-dYw@mail.gmail.com

Hi Skip,

Collins <skip.collins@gmail.com> writes:

> Recently (last two or three weeks), when I run make test on the latest
> git source (currently release_9.1.6-395-g8ecc4c) on my mac with Emacs
> 26.0.90 (compiled with brew on my Mac), I get the following results:
>
> Ran 775 tests, 771 results as expected, 4 unexpected (2018-01-23 11:37:59-0500)
> 11 expected failures
>
> 4 unexpected results:
>    FAILED  ob-sed-test/cmd-line-header-argument
>    FAILED  ob-sed-test/in-file-header-argument
>    FAILED  ob-sed-test/simple-execution-of-script
>    FAILED  test-ob-python/session-multiline
>
> I would appreciate any suggestions for how to address the problem.
> This is not urgent, as I don't use ob-sed and org seems to be
> functioning normally otherwise. But OSX command line tools sometimes
> have quirks that show up as failed tests. Of course it is possible
> that I broke my emacs/org in some way.

Some days ago I accidentially saw that the sed tests were disabled and
that I could easily activate them.  And I did and thought that was a
wonderful idea.  And also the sed tests pass on my linux box.

This

> Test ob-sed-test/cmd-line-header-argument condition:
>     (ert-test-failed
>      ((should
>        (string= "A tested again file.
> "
> (with-temp-buffer ... ...)))
>       :form
>       (string= "A tested again file.
> "              "A test file.
> ")
>       :value nil))

shows that sed did not do the substitution of "test" by "tested again"
as defined in the respective sed babel block.

Maybe you could try to execute sed babel blocks directly.  Possibly you
get a better understanding of the behaviour.


HTH
   Marco
   

      reply	other threads:[~2018-01-23 18:55 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-01-23 16:57 sed tests Skip Collins
2018-01-23 18:54 ` Marco Wahl [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=84o9lk4d8g.fsf@gmail.com \
    --to=marcowahlsoft@gmail.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).