emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Skip Collins <skip.collins@gmail.com>
To: emacs-org list <emacs-orgmode@gnu.org>
Subject: sed tests
Date: Tue, 23 Jan 2018 11:57:42 -0500	[thread overview]
Message-ID: <CABUh-74XeKv-N3ByjfH=m-6nRyvX1DByC-g_=P3nhqXKuZ-dYw@mail.gmail.com> (raw)

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.

The backtrace from the first failed test is:
executing Sed code block...
executing sed source code block
Babel evaluation exited with code 1
Code block produced no output.
Test ob-sed-test/cmd-line-header-argument backtrace:
  signal(ert-test-failed (((should (string= "A tested again file.\n" (
  ert-fail(((should (string= "A tested again file.\n" (with-temp-buffe
  (if (unwind-protect (setq value-1104 (apply fn-1102 args-1103)) (set
  (let (form-description-1106) (if (unwind-protect (setq value-1104 (a
  (let ((value-1104 'ert-form-evaluation-aborted-1105)) (let (form-des
  (let* ((fn-1102 (function string=)) (args-1103 (condition-case err (
  (let ((default-directory temporary-file-directory)) (let ((temp-buff
  (save-restriction (let ((default-directory temporary-file-directory)
  (progn (org-id-goto "E3C6A8BA-39FF-4840-BA8E-90D5C4365AB1") (setq to
  (unwind-protect (progn (org-id-goto "E3C6A8BA-39FF-4840-BA8E-90D5C43
  (let ((save-match-data-internal (match-data))) (unwind-protect (prog
  (progn (let ((save-match-data-internal (match-data))) (unwind-protec
  (unwind-protect (progn (let ((save-match-data-internal (match-data))
  (let ((wconfig (current-window-configuration))) (unwind-protect (pro
  (unwind-protect (let ((wconfig (current-window-configuration))) (unw
  (let* ((id-location (org-id-find "E3C6A8BA-39FF-4840-BA8E-90D5C4365A
  (lambda nil (let* ((id-location (org-id-find "E3C6A8BA-39FF-4840-BA8
  ert--run-test-internal(#s(ert--test-execution-info :test #s(ert-test
  ert-run-test(#s(ert-test :name ob-sed-test/cmd-line-header-argument
  ert-run-or-rerun-test(#s(ert--stats :selector "\\(org\\|ob\\)" :test
  ert-run-tests("\\(org\\|ob\\)" #f(compiled-function (event-type &res
  ert-run-tests-batch("\\(org\\|ob\\)")
  ert-run-tests-batch-and-exit("\\(org\\|ob\\)")
  (let ((org-id-track-globally t) (org-test-selector (if org-test-sele
  org-test-run-batch-tests("\\(org\\|ob\\)")
  eval((org-test-run-batch-tests org-test-select-re))
  command-line-1(("--eval" "(setq vc-handled-backends nil org-startup-
  command-line()
  normal-top-level()
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))
   FAILED  109/775  ob-sed-test/cmd-line-header-argument

             reply	other threads:[~2018-01-23 16:58 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-01-23 16:57 Skip Collins [this message]
2018-01-23 18:54 ` sed tests Marco Wahl

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='CABUh-74XeKv-N3ByjfH=m-6nRyvX1DByC-g_=P3nhqXKuZ-dYw@mail.gmail.com' \
    --to=skip.collins@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).