aboutsummaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorPierre Neidhardt <mail@ambrevar.xyz>2022-07-04 20:46:24 +0200
committerGuillaume Le Vaillant <glv@posteo.net>2022-08-03 16:45:54 +0200
commit440372efcdd48e8150c324387a0748b2ac754c63 (patch)
tree788486feeaed43c5a8127531d3ad9195874aea65 /gnu
parent95010a12262bceeed54ff3d07f1141f4362fb3d6 (diff)
downloadguix-440372efcdd48e8150c324387a0748b2ac754c63.tar.gz
guix-440372efcdd48e8150c324387a0748b2ac754c63.zip
gnu: sbcl-vas-string-metrics: Re-enable tests.
* gnu/packages/lisp-xyz.scm (sbcl-vas-string-metrics)[arguments]: Specify the name of the test system and fix the .asd file to actually do something. Signed-off-by: Guillaume Le Vaillant <glv@posteo.net>
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/lisp-xyz.scm12
1 files changed, 12 insertions, 0 deletions
diff --git a/gnu/packages/lisp-xyz.scm b/gnu/packages/lisp-xyz.scm
index dd2c6d3e1d..5fc107f1ce 100644
--- a/gnu/packages/lisp-xyz.scm
+++ b/gnu/packages/lisp-xyz.scm
@@ -8731,6 +8731,18 @@ continuations of the @code{cl-cont} library.")
(sha256
(base32 "11fcnd03ybzz37rkg3z0wsb727yqgcd9gn70sccfb34l89ia279k"))))
(build-system asdf-build-system/sbcl)
+ (arguments
+ '(#:asd-test-systems '("test.vas-string-metrics")
+ #:phases
+ (modify-phases %standard-phases
+ (add-after 'unpack 'fix-test-asd
+ (lambda _
+ (substitute* "test.vas-string-metrics.asd"
+ ((":depends-on")
+ (string-append
+ ":perform (test-op (op c) (symbol-call :vas-string-metrics :run-tests))"
+ "\n"
+ " :depends-on"))))))))
(home-page "https://github.com/vsedach/vas-string-metrics")
(synopsis "String distance algorithms for Common Lisp")
(description