* bug#26492: [PATCH] gnu: emacs-company: Enable tests.
@ 2017-04-14 8:16 Arun Isaac
2017-04-14 10:24 ` Ludovic Courtès
0 siblings, 1 reply; 3+ messages in thread
From: Arun Isaac @ 2017-04-14 8:16 UTC (permalink / raw)
To: 26492
* gnu/packages/emacs.scm (emacs-company)[arguments]: Add a 'check' phase.
---
gnu/packages/emacs.scm | 12 ++++++++++++
1 file changed, 12 insertions(+)
diff --git a/gnu/packages/emacs.scm b/gnu/packages/emacs.scm
index 71058136a..976ea31e0 100644
--- a/gnu/packages/emacs.scm
+++ b/gnu/packages/emacs.scm
@@ -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
--
2.12.2
^ permalink raw reply related [flat|nested] 3+ messages in thread
* bug#26492: [PATCH] gnu: emacs-company: Enable tests.
2017-04-14 8:16 bug#26492: [PATCH] gnu: emacs-company: Enable tests Arun Isaac
@ 2017-04-14 10:24 ` Ludovic Courtès
2017-04-14 12:47 ` Arun Isaac
0 siblings, 1 reply; 3+ messages in thread
From: Ludovic Courtès @ 2017-04-14 10:24 UTC (permalink / raw)
To: Arun Isaac; +Cc: 26492
Arun Isaac <arunisaac@systemreboot.net> skribis:
> * gnu/packages/emacs.scm (emacs-company)[arguments]: Add a 'check' phase.
LGTM, thanks!
Ludo’.
^ permalink raw reply [flat|nested] 3+ messages in thread
* bug#26492: [PATCH] gnu: emacs-company: Enable tests.
2017-04-14 10:24 ` Ludovic Courtès
@ 2017-04-14 12:47 ` Arun Isaac
0 siblings, 0 replies; 3+ messages in thread
From: Arun Isaac @ 2017-04-14 12:47 UTC (permalink / raw)
To: 26492-done
Pushed!
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2017-04-14 12:48 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-04-14 8:16 bug#26492: [PATCH] gnu: emacs-company: Enable tests Arun Isaac
2017-04-14 10:24 ` Ludovic Courtès
2017-04-14 12:47 ` Arun Isaac
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.