[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
18/22: gnu: sbcl-jzon: Enable tests.
From: |
guix-commits |
Subject: |
18/22: gnu: sbcl-jzon: Enable tests. |
Date: |
Wed, 3 Aug 2022 10:48:10 -0400 (EDT) |
glv pushed a commit to branch master
in repository guix.
commit 369377a0fb113b0f26fb518c7f8653cbd997e23a
Author: Pierre Neidhardt <mail@ambrevar.xyz>
AuthorDate: Mon Jul 4 21:46:56 2022 +0200
gnu: sbcl-jzon: Enable tests.
* gnu/packages/lisp-xyz.scm (sbcl-jzon)[arguments]: Move test system
to #:asd-test-systems. Add phase to fix test .asd to actually run the
tests.
Signed-off-by: Guillaume Le Vaillant <glv@posteo.net>
---
gnu/packages/lisp-xyz.scm | 14 +++++++++++++-
1 file changed, 13 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/lisp-xyz.scm b/gnu/packages/lisp-xyz.scm
index bfde1e4e89..20841bd397 100644
--- a/gnu/packages/lisp-xyz.scm
+++ b/gnu/packages/lisp-xyz.scm
@@ -21391,7 +21391,19 @@ implementation for Common Lisp.")
(base32 "1048f6prz2lp859nxwcgghn6n38pc2pb580azzxpdhfcdi0034mj"))))
(build-system asdf-build-system/sbcl)
(arguments
- '(#:asd-systems '("com.inuoe.jzon" "com.inuoe.jzon-tests")))
+ '(#:asd-systems '("com.inuoe.jzon")
+ #:asd-test-systems '("com.inuoe.jzon-tests")
+ #:phases
+ (modify-phases %standard-phases
+ (add-after 'unpack 'fix-test-asd
+ (lambda _
+ (substitute* "test/com.inuoe.jzon-tests.asd"
+ ((":depends-on")
+ (string-append
+ ":perform (test-op (op c) (symbol-call :fiveam :run!"
+ " (find-symbol \"JZON\" :com.inuoe.jzon-tests)))"
+ "\n"
+ " :depends-on"))))))))
(native-inputs
(list sbcl-alexandria
sbcl-fiveam
- 13/22: gnu: sbcl-vas-string-metrics: Re-enable tests., (continued)
- 13/22: gnu: sbcl-vas-string-metrics: Re-enable tests., guix-commits, 2022/08/03
- 12/22: gnu: sbcl-cl-heap: Re-enable tests., guix-commits, 2022/08/03
- 15/22: gnu: Add cl-mw-equiv., guix-commits, 2022/08/03
- 16/22: gnu: sbcl-quantile-estimator: Enable tests., guix-commits, 2022/08/03
- 02/22: build-system: asdf: Let ASDF locate the .asd files., guix-commits, 2022/08/03
- 10/22: gnu: sbcl-spatial-trees: Build spatial-trees.nss and fix tests., guix-commits, 2022/08/03
- 06/22: gnu: sbcl-cl-reexport: Remove obsolete test workaround., guix-commits, 2022/08/03
- 11/22: gnu: sbcl-lisp-namespace: Enable tests., guix-commits, 2022/08/03
- 07/22: gnu: Add cl-legion., guix-commits, 2022/08/03
- 17/22: gnu: sbcl-cl-online-learning: Remove unnecessary arguments., guix-commits, 2022/08/03
- 18/22: gnu: sbcl-jzon: Enable tests.,
guix-commits <=
- 21/22: gnu: sbcl-glop: Remove obsolete test-asd-file parameter., guix-commits, 2022/08/03
- 20/22: gnu: sbcl-stumpwm-kbd-layouts: Fix build., guix-commits, 2022/08/03
- 09/22: gnu: sbcl-cl-irc: Fix tests., guix-commits, 2022/08/03
- 01/22: guix: build: Switch from asdf:compile-system to asdf:load-system., guix-commits, 2022/08/03
- 19/22: build-system: asdf: Add asd-operation parameter., guix-commits, 2022/08/03
- 22/22: gnu: ecl-legion: Disable tests., guix-commits, 2022/08/03