From: Stig Brautaset <stig@brautaset.org>
To: org mode <emacs-orgmode@gnu.org>
Subject: duplicated test names... are these bugs?
Date: Thu, 07 Sep 2017 23:30:38 +0100 [thread overview]
Message-ID: <m2lglqjg4x.fsf@brautaset.org> (raw)
Hello!
Running tests on master for me, with make test, results in a single test
failure in `ob-shell/bash-uses-assoc-arrays'. While looking into that I
found that there are _two_ definitions of that in the test-ob-shell.el
file. This strikes me as unlikely to be ideal, and I decided to look a
bit further and it turns out this is not unique. Running the following
command from the top-level org-mode directory
: $ ag --nogroup --nonumbers ert-deftest | sort | uniq -d
Results in
: testing/lisp/test-ob-lilypond.el:(ert-deftest ob-lilypond/ly-gen-html ()
: testing/lisp/test-ob-shell.el:(ert-deftest ob-shell/bash-uses-assoc-arrays ()
: testing/lisp/test-ob-shell.el:(ert-deftest ob-shell/generic-uses-no-assoc-arrays ()
: testing/lisp/test-ob.el:(ert-deftest test-ob/commented-last-block-line-with-var ()
: testing/lisp/test-ob.el:(ert-deftest test-ob/org-babel-remove-result--results-default ()
: testing/lisp/test-ob.el:(ert-deftest test-ob/org-babel-remove-result--results-list ()
: testing/lisp/test-ob.el:(ert-deftest test-ob/org-babel-remove-result--results-pp ()
: testing/lisp/test-org-table.el:(ert-deftest test-org-table/align ()
I'm not super familiar with ert, but I _assume_ that this will lead to
only the last definition of the test with the duplicate names being run
by 'make test'?
Stig
--
; GNU Emacs 26.0.50, Org mode version 9.1
next reply other threads:[~2017-09-07 22:30 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-09-07 22:30 Stig Brautaset [this message]
2017-09-08 11:21 ` duplicated test names... are these bugs? Nicolas Goaziou
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=m2lglqjg4x.fsf@brautaset.org \
--to=stig@brautaset.org \
--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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.