3
5
Fork 0
mirror of git://git.savannah.gnu.org/guix.git synced 2023-12-14 03:33:07 +01:00

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.
This commit is contained in:
Alex Kost 2017-09-04 22:40:18 +03:00
parent 77bb6c227b
commit 8505d34829
No known key found for this signature in database
GPG key ID: 82460C082A0EE98F

View file

@ -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