From: Arun Isaac <arunisaac@systemreboot.net>
To: 26342@debbugs.gnu.org
Subject: bug#26342: [PATCH] gnu: emacs-elfeed: Enable tests.
Date: Sun, 2 Apr 2017 20:42:35 +0530 [thread overview]
Message-ID: <ccee1dff.ADsAAHDQ_JkAAAAAAAAAAAOtUOAAAAACwQwAAAAAAAW9WABY4RT0@mailjet.com> (raw)
* gnu/packages/emacs.scm (emacs-elfeed)[arguments]: Add a 'check' phase.
---
gnu/packages/emacs.scm | 9 +++++++++
1 file changed, 9 insertions(+)
diff --git a/gnu/packages/emacs.scm b/gnu/packages/emacs.scm
index cb2792f63..1091e562a 100644
--- a/gnu/packages/emacs.scm
+++ b/gnu/packages/emacs.scm
@@ -3100,6 +3100,15 @@ If you want to mark a folder manually as a project just create an empty
(base32
"145glas04zd0s2rmnif46vhyijs4z03v871gfp1dcrwxvvvns8ap"))))
(build-system emacs-build-system)
+ (arguments
+ `(#:phases
+ (modify-phases %standard-phases
+ (add-before 'install 'check
+ (lambda _
+ (zero? (system* "emacs" "--batch" "--eval" "(add-to-list 'load-path \".\")"
+ "--eval" "(add-to-list 'load-path \"./tests\")"
+ "-l" "tests/elfeed-tests.el"
+ "-f" "ert-run-tests-batch-and-exit")))))))
(home-page "https://github.com/skeeto/elfeed")
(synopsis "Atom/RSS feed reader for Emacs")
(description
--
2.11.0
next reply other threads:[~2017-04-02 15:14 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-04-02 15:12 Arun Isaac [this message]
2017-04-02 17:02 ` bug#26342: [PATCH] gnu: emacs-elfeed: Enable tests Kei Kebreau
2017-04-02 18:57 ` Arun Isaac
2017-04-02 19:20 ` Arun Isaac
2017-04-03 3:11 ` Kei Kebreau
2017-04-03 3:12 ` Kei Kebreau
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=ccee1dff.ADsAAHDQ_JkAAAAAAAAAAAOtUOAAAAACwQwAAAAAAAW9WABY4RT0@mailjet.com \
--to=arunisaac@systemreboot.net \
--cc=26342@debbugs.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/guix.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.