gnu: emacs-circe: Enable tests.

* gnu/packages/emacs.scm (emacs-circe)[arguments]: Enable tests. Set
test-command. Add set-home phase.
[native-inputs]: Add emacs-buttercup.
This commit is contained in:
Arun Isaac 2018-12-12 00:59:15 +05:30
parent 04eb2645bd
commit 665f459118
No known key found for this signature in database
GPG Key ID: 2E25EE8B61802BB3
1 changed files with 13 additions and 0 deletions

View File

@ -7860,6 +7860,19 @@ value of the access token.")
(base32 (base32
"10gi14kwxd81blddpvqh95lgmpbfgp0m955naxix3bs3r6a75n4s")))) "10gi14kwxd81blddpvqh95lgmpbfgp0m955naxix3bs3r6a75n4s"))))
(build-system emacs-build-system) (build-system emacs-build-system)
(arguments
`(#:tests? #t
#:test-command '("buttercup" "-L" ".")
#:phases
(modify-phases %standard-phases
;; The HOME environment variable should be set to an existing
;; directory for the tests to succeed.
(add-before 'check 'set-home
(lambda _
(setenv "HOME" "/tmp")
#t)))))
(native-inputs
`(("emacs-buttercup" ,emacs-buttercup)))
;; In order to securely connect to an IRC server using TLS, Circe requires ;; In order to securely connect to an IRC server using TLS, Circe requires
;; the GnuTLS binary. ;; the GnuTLS binary.
(propagated-inputs (propagated-inputs