gnu: ecl: Enable tests.
* gnu/packages/lisp.scm (ecl): Enable tests. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
This commit is contained in:
parent
e0524511ec
commit
60474cd114
|
@ -119,30 +119,15 @@ interface to the Tk widget system.")
|
||||||
("libgc" ,libgc)
|
("libgc" ,libgc)
|
||||||
("libffi" ,libffi)))
|
("libffi" ,libffi)))
|
||||||
(arguments
|
(arguments
|
||||||
'(;; During 'make check', ECL fails to initialize with "protocol not
|
'(#:tests? #t
|
||||||
;; supported", presumably because /etc/protocols is missing in the
|
#:make-flags `(,(string-append "ECL="
|
||||||
;; build environment. See <http://sourceforge.net/p/ecls/bugs/300/>.
|
(assoc-ref %outputs "out")
|
||||||
;;
|
"/bin/ecl"))
|
||||||
;; Should the test suite be re-enabled, it might be necessary to add
|
#:parallel-tests? #f
|
||||||
;; '#:parallel-tests #f'. See the same bug report as above.
|
#:phases
|
||||||
;;
|
(modify-phases %standard-phases
|
||||||
;; The following might also be necessary, due to 'make check' assuming
|
(delete 'check)
|
||||||
;; ECL is installed. See <http://sourceforge.net/p/ecls/bugs/299/>.
|
(add-after 'install 'check (assoc-ref %standard-phases 'check)))))
|
||||||
;;
|
|
||||||
;; #:phases
|
|
||||||
;; (let* ((check-phase (assq-ref %standard-phases 'check))
|
|
||||||
;; (rearranged-phases
|
|
||||||
;; (alist-cons-after 'install 'check check-phase
|
|
||||||
;; (alist-delete 'check %standard-phases))))
|
|
||||||
;; (alist-cons-before
|
|
||||||
;; 'check 'pre-check
|
|
||||||
;; (lambda* (#:key outputs #:allow-other-keys)
|
|
||||||
;; (substitute* '("build/tests/Makefile")
|
|
||||||
;; (("ECL=ecl")
|
|
||||||
;; (string-append
|
|
||||||
;; "ECL=" (assoc-ref outputs "out") "/bin/ecl"))))
|
|
||||||
;; rearranged-phases))
|
|
||||||
#:tests? #f))
|
|
||||||
(home-page "http://ecls.sourceforge.net/")
|
(home-page "http://ecls.sourceforge.net/")
|
||||||
(synopsis "Embeddable Common Lisp")
|
(synopsis "Embeddable Common Lisp")
|
||||||
(description "ECL is an implementation of the Common Lisp language as
|
(description "ECL is an implementation of the Common Lisp language as
|
||||||
|
|
Loading…
Reference in New Issue