gnu: emacs-company: Enable tests.

* gnu/packages/emacs.scm (emacs-company)[arguments]: Add a 'check' phase.
master
Arun Isaac 2017-04-14 13:44:02 +05:30
parent 960887b297
commit 4e644ab8a6
No known key found for this signature in database
GPG Key ID: 2E25EE8B61802BB3
1 changed files with 12 additions and 0 deletions

View File

@ -2088,6 +2088,18 @@ build jobs.")
(base32
"1fyrpchpdmvszssy1qmsw41aqpv6q5rybvs1bw00nv9xdhiaq4vh"))))
(build-system emacs-build-system)
(arguments
`(#:phases
(modify-phases %standard-phases
(add-before 'install 'check
(lambda _
;; The company-files-candidates-normal-root test looks
;; for the /bin directory, but the build environment has
;; no /bin directory. Modify the test to look for the
;; /tmp directory.
(substitute* "test/files-tests.el"
(("/bin/") "/tmp/"))
(zero? (system* "make" "test-batch")))))))
(home-page "http://company-mode.github.io/")
(synopsis "Modular text completion framework")
(description