guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

13/22: gnu: sbcl-vas-string-metrics: Re-enable tests.


From: guix-commits
Subject: 13/22: gnu: sbcl-vas-string-metrics: Re-enable tests.
Date: Wed, 3 Aug 2022 10:48:09 -0400 (EDT)

glv pushed a commit to branch master
in repository guix.

commit 440372efcdd48e8150c324387a0748b2ac754c63
Author: Pierre Neidhardt <mail@ambrevar.xyz>
AuthorDate: Mon Jul 4 20:46:24 2022 +0200

    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>
---
 gnu/packages/lisp-xyz.scm | 12 ++++++++++++
 1 file changed, 12 insertions(+)

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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]