[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
07/16: gnu: ecl: Run tests conditionally and please lint.
From: |
guix-commits |
Subject: |
07/16: gnu: ecl: Run tests conditionally and please lint. |
Date: |
Fri, 11 Mar 2022 23:43:24 -0500 (EST) |
apteryx pushed a commit to branch master
in repository guix.
commit 1879d6d810ca520b1705e20e95571fec95ae43fd
Author: Maxime Devos <maximedevos@telenet.be>
AuthorDate: Fri Mar 4 13:01:10 2022 +0000
gnu: ecl: Run tests conditionally and please lint.
* gnu/packages/lisp.scm (ecl)[source]: Adjust origin URL.
[inputs]: Add bash-minimal.
[arguments]: Move the comment about failing tests above the deleted check
phase.
[tests?]: Do not explicitly set to #t.
[phases]: Delete trailing #t.
[home-page]: Update.
Co-authored-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
---
gnu/packages/lisp.scm | 22 +++++++++-------------
1 file changed, 9 insertions(+), 13 deletions(-)
diff --git a/gnu/packages/lisp.scm b/gnu/packages/lisp.scm
index edca4e632a..01d71086a5 100644
--- a/gnu/packages/lisp.scm
+++ b/gnu/packages/lisp.scm
@@ -251,7 +251,7 @@ interface to the Tk widget system.")
(origin
(method url-fetch)
(uri (string-append
- "https://common-lisp.net/project/ecl/static/files/release/"
+ "https://ecl.common-lisp.dev/static/files/release/"
name "-" version ".tgz"))
(sha256
(base32 "000906nnq25177bgsfndiw3iqqgrjc9spk10hzk653sbz3f7anmi"))))
@@ -259,6 +259,7 @@ interface to the Tk widget system.")
;; src/configure uses 'which' to confirm the existence of 'gzip'.
(native-inputs
(list cl-asdf which texinfo))
+ (inputs (list bash-minimal))
;; When ECL is embedded in a program that wants to use Common Lisp as an
;; extension language, libgmp, libatomic-ops, libgc and libffi must be
;; present when compiling the program because they are required by ECL's
@@ -269,12 +270,11 @@ interface to the Tk widget system.")
(list gmp libatomic-ops libgc libffi))
(arguments
`(#:configure-flags '("--without-rt")
- ;; FIXME: As of version 20.4.24, we pass 17995 tests and fail 7.
- ;; 2-3 tests may be due to FHS assumptions.
- #:tests? #t
#:parallel-tests? #f
#:phases
(modify-phases %standard-phases
+ ;; FIXME: As of version 20.4.24, we pass 17995 tests and fail 7.
+ ;; 2-3 tests may be due to FHS assumptions.
(delete 'check)
(add-after 'unpack 'replace-asdf
;; Use system ASDF instead of bundled one.
@@ -284,13 +284,11 @@ interface to the Tk widget system.")
cl-asdf
"/share/common-lisp/source/asdf/asdf.lisp"))
(contrib-asdf "contrib/asdf/asdf.lisp"))
- (copy-file guix-asdf contrib-asdf))
- #t))
+ (copy-file guix-asdf contrib-asdf))))
(add-after 'install 'remove-build-stamp
(lambda* (#:key outputs #:allow-other-keys)
(delete-file (string-append (assoc-ref outputs "out")
- "/lib/ecl-" ,version "/build-stamp"))
- #t))
+ "/lib/ecl-" ,version
"/build-stamp"))))
(add-after 'remove-build-stamp 'wrap
(lambda* (#:key inputs outputs #:allow-other-keys)
(let* ((ecl (assoc-ref outputs "out"))
@@ -313,14 +311,12 @@ interface to the Tk widget system.")
(input-path lib "/include"))
`("kernel-headers" ,@libraries)))
`("LIBRARY_PATH" suffix ,library-directories)
- `("LD_LIBRARY_PATH" suffix ,library-directories))
- #t)))
+ `("LD_LIBRARY_PATH" suffix ,library-directories)))))
(add-after 'wrap 'check (assoc-ref %standard-phases 'check))
(add-before 'check 'fix-path-to-ecl
(lambda _
(substitute* "build/tests/Makefile"
- (("\\$\\{exec_prefix\\}/") ""))
- #t)))))
+ (("\\$\\{exec_prefix\\}/") "")))))))
(native-search-paths
(list (search-path-specification
(variable "XDG_DATA_DIRS")
@@ -328,7 +324,7 @@ interface to the Tk widget system.")
(search-path-specification
(variable "XDG_CONFIG_DIRS")
(files '("etc")))))
- (home-page "http://ecls.sourceforge.net/")
+ (home-page "https://ecl.common-lisp.dev/")
(synopsis "Embeddable Common Lisp")
(description "ECL is an implementation of the Common Lisp language as
defined by the ANSI X3J13 specification. Its most relevant features are: a
- branch master updated (b769fe7f75 -> 662f1f7bba), guix-commits, 2022/03/11
- 04/16: gnu: ruby-yard-with-tests: Run tests conditionally., guix-commits, 2022/03/11
- 05/16: gnu: ruby-ffi-rzmq: Honor TESTS?., guix-commits, 2022/03/11
- 07/16: gnu: ecl: Run tests conditionally and please lint.,
guix-commits <=
- 08/16: gnu: perl-unicode-utf8: Run tests conditionally., guix-commits, 2022/03/11
- 02/16: gnu: lean: Update to 3.41.0 and fixes toward cross-compilation., guix-commits, 2022/03/11
- 01/16: lint: check-tests-true: Allow #:tests? #t for some build systems., guix-commits, 2022/03/11
- 13/16: gnu: belcard: Run tests conditionally., guix-commits, 2022/03/11
- 14/16: gnu: tdlib: Run tests conditionally., guix-commits, 2022/03/11
- 16/16: gnu: ghc-bsb-http-chunked: Don't run tests when cross-compiling., guix-commits, 2022/03/11
- 15/16: gnu: extra-cmake-modules: Don't run tests when cross-compiling., guix-commits, 2022/03/11
- 03/16: gnu: swi-prolog: Fix cross-compilation., guix-commits, 2022/03/11
- 06/16: gnu: go-1.16: Do not run tests when cross-compiling., guix-commits, 2022/03/11
- 12/16: gnu: lablgtk: Run tests conditionally., guix-commits, 2022/03/11