~ruther/guix-local

58b6812fd4c480bc3ef07934c5967d18a2992292 — Maxim Cournoyer 8 years ago b7dee6a
emacs-build-system: Reinstate the check phase.

* guix/build/emacs-build-system.scm (%standard-phases): Reinstate the check
phase from the gnu-build-system.
* guix/build-system/emacs.scm (emacs-build)[tests?]: But do not enable it by default.
[parallel-tests?]: Add argument.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2 files changed, 2 insertions(+), 2 deletions(-)

M guix/build-system/emacs.scm
M guix/build/emacs-build-system.scm
M guix/build-system/emacs.scm => guix/build-system/emacs.scm +2 -1
@@ 82,7 82,8 @@

(define* (emacs-build store name inputs
                      #:key source
                      (tests? #t)
                      (tests? #f)
                      (parallel-tests? #t)
                      (test-target "test")
                      (configure-flags ''())
                      (phases '(@ (guix build emacs-build-system)

M guix/build/emacs-build-system.scm => guix/build/emacs-build-system.scm +0 -1
@@ 246,7 246,6 @@ second hyphen.  This corresponds to 'name-version' as used in ELPA packages."
    (add-after 'set-paths 'set-emacs-load-path set-emacs-load-path)
    (replace 'unpack unpack)
    (delete 'configure)
    (delete 'check)
    ;; Move the build phase after install: the .el files are byte compiled
    ;; directly in the store.
    (delete 'build)