aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex Kost <alezost@gmail.com>2017-09-04 22:40:18 +0300
committerAlex Kost <alezost@gmail.com>2017-09-04 22:44:59 +0300
commit8505d34829b99744a36d72dd583768f1e49210a6 (patch)
treec96657cadc07053742f3e5ffa62012f2501f53a3
parent77bb6c227b441277e48d6e2071cca3b801f53374 (diff)
downloadguix-8505d34829b99744a36d72dd583768f1e49210a6.tar
guix-8505d34829b99744a36d72dd583768f1e49210a6.tar.gz
gnu: emacs-browse-at-remote: Simplify 'check' phase.
* gnu/packages/emacs.scm (emacs-browse-at-remote)[native-inputs]: Add 'ert-runner'. [arguments]: Run it in the 'check' phase.
-rw-r--r--gnu/packages/emacs.scm16
1 files changed, 4 insertions, 12 deletions
diff --git a/gnu/packages/emacs.scm b/gnu/packages/emacs.scm
index be89790344..b23363796a 100644
--- a/gnu/packages/emacs.scm
+++ b/gnu/packages/emacs.scm
@@ -5489,22 +5489,14 @@ Idris.")
(propagated-inputs
`(("emacs-f" ,emacs-f)
("emacs-s" ,emacs-s)))
+ (native-inputs
+ `(("ert-runner" ,ert-runner)))
(arguments
`(#:phases
(modify-phases %standard-phases
(add-before 'install 'check
- (lambda* (#:key inputs #:allow-other-keys)
- (zero? (system* "emacs" "--batch" "-L" "."
- "-L" (string-append
- (assoc-ref inputs "emacs-f")
- "/share/emacs/site-lisp/guix.d/f-"
- ,(package-version emacs-f))
- "-L" (string-append
- (assoc-ref inputs "emacs-s")
- "/share/emacs/site-lisp/guix.d/s-"
- ,(package-version emacs-s))
- "-l" "test/api-basic-test.el"
- "-f" "ert-run-tests-batch-and-exit")))))))
+ (lambda _
+ (zero? (system* "ert-runner")))))))
(home-page "https://github.com/rmuslimov/browse-at-remote")
(synopsis "Open github/gitlab/bitbucket/stash page from Emacs")
(description