unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: Sharlatan Hellseher <sharlatanus@gmail.com>
To: 48105@debbugs.gnu.org
Subject: [bug#48105] [PATCH 2/2] gnu: Add unit-test
Date: Thu, 29 Apr 2021 18:38:51 +0000	[thread overview]
Message-ID: <CAO+9K5pksHs5AYLj3w3kr+BTonZPWndTvGiBr4Jx69P3tSn+zQ@mail.gmail.com> (raw)
In-Reply-To: <CAO+9K5pvvCF1nafn_v73scym3HH5CDDOqQOy7ab=qTBJ0_Np2g@mail.gmail.com>

[-- Attachment #1: Type: text/plain, Size: 474 bytes --]

Hi Guix team!

Some interesting Common Lisp system from Common Lisp Recipes.
Yet it has not been ported to ECL.

-- 
… наш разум - превосходная объяснительная машина которая способна
найти смысл почти в чем угодно, истолковать любой феномен, но
совершенно не в состоянии принять мысль о непредсказуемости.

[-- Attachment #2: 0002-gnu-Add-unit-test.patch --]
[-- Type: text/x-patch, Size: 1840 bytes --]

From 451515e288cc42c1522a10d8ab89cf89dcb0f976 Mon Sep 17 00:00:00 2001
From: Sharlatan Hellseher <sharlatanus@gmail.com>
Date: Thu, 29 Apr 2021 19:33:34 +0100
Subject: [PATCH 2/2] gnu: Add unit-test

* gnu/packages/lisp-xyz.scm (sbcl-unit-test, ecl-unit-test,
  cl-unit-test):  New variables
---
 gnu/packages/lisp-xyz.scm | 29 +++++++++++++++++++++++++++++
 1 file changed, 29 insertions(+)

diff --git a/gnu/packages/lisp-xyz.scm b/gnu/packages/lisp-xyz.scm
index bd3210d8c1..ecc0582e8d 100644
--- a/gnu/packages/lisp-xyz.scm
+++ b/gnu/packages/lisp-xyz.scm
@@ -16285,6 +16285,35 @@ color spaces, which supports many color models.")
 (define-public cl-dufy
   (sbcl-package->cl-source-package sbcl-dufy))
 
+(define-public sbcl-unit-test
+  (let ((commit "266afaf4ac091fe0e8803bac2ae72d238144e735")
+        (revision "1"))
+    (package
+      (name "sbcl-unit-test")
+      (version (git-version "0.0.0" revision commit))
+      (source
+       (origin
+         (method git-fetch)
+         (uri (git-reference
+               (url "https://github.com/hanshuebner/unit-test")
+               (commit commit)))
+         (file-name (git-file-name name version))
+         (sha256
+          (base32
+           "11hpksz56iqkv7jw25p2a8r3n9dj922fyarn16d98589g6hdskj9"))))
+      (build-system asdf-build-system/sbcl)
+      (home-page "https://github.com/hanshuebner/unit-test")
+      (synopsis "Unit-testing framework for common lisp")
+      (description
+"Unit-testing framework for common lisp")
+      (license license:unlicense))))
+
+(define-public ecl-unit-test
+  (sbcl-package->ecl-package sbcl-unit-test))
+
+(define-public cl-unit-test
+  (sbcl-package->cl-source-package sbcl-unit-test))
+
 (define-public sbcl-bknr-datastore
   (let ((commit "c98d44f47cc88d19ff91ca3eefbd9719a8ace022")
         (revision "1"))
-- 
2.31.1


  reply	other threads:[~2021-04-29 18:40 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-04-29 18:36 [bug#48105] [PATCH 1/2] gnu: Add bknr-datastore Sharlatan Hellseher
2021-04-29 18:38 ` Sharlatan Hellseher [this message]
2021-04-30  7:48 ` bug#48105: " Guillaume Le Vaillant

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAO+9K5pksHs5AYLj3w3kr+BTonZPWndTvGiBr4Jx69P3tSn+zQ@mail.gmail.com \
    --to=sharlatanus@gmail.com \
    --cc=48105@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).