all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* [bug#69353] [PATCH 1/2] gnu: Add greatest.
  2024-02-24 11:16 [bug#69353] [PATCH 0/2] The greatest theft since the invention of software Liliana Marie Prikler
@ 2024-02-24 11:01 ` Liliana Marie Prikler
  2024-02-24 11:01 ` [bug#69353] [PATCH 2/2] gnu: Add theft Liliana Marie Prikler
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: Liliana Marie Prikler @ 2024-02-24 11:01 UTC (permalink / raw)
  To: 69353

* gnu/packages/check.scm (greatest): New variable.
---
 gnu/packages/check.scm | 23 +++++++++++++++++++++++
 1 file changed, 23 insertions(+)

diff --git a/gnu/packages/check.scm b/gnu/packages/check.scm
index 5237f93a93..b0d2ff199b 100644
--- a/gnu/packages/check.scm
+++ b/gnu/packages/check.scm
@@ -966,6 +966,29 @@ (define-public googlebenchmark
 similar to unit tests.")
     (license license:asl2.0)))
 
+(define-public greatest
+  (package
+   (name "greatest")
+   (version "1.5.0")
+   (source (origin
+            (method git-fetch)
+            (uri (git-reference
+                  (url "https://github.com/silentbicycle/greatest")
+                  (commit (string-append "v" version))))
+            (file-name (git-file-name name version))
+            (sha256
+             (base32
+              "11rajkb5m7mlzi3i3v0i27k6rrjw3x8a7bl6fkc29igzpwfbxndy"))))
+   (build-system copy-build-system)
+   (arguments (list #:install-plan
+                    #~'(("greatest.h" "include/"))))
+   (home-page "https://github.com/silentbicycle/greatest")
+   (synopsis "Single-header test system")
+   (description "Greatest is a single-header test system for C, including
+macros for defining tests, grouping them into suites, and providing a test
+runner.  It is quite unopinionated with most of its features being optional.")
+   (license license:isc)))
+
 (define-public cpputest
   (package
     (name "cpputest")
-- 
2.41.0





^ permalink raw reply related	[flat|nested] 5+ messages in thread

* [bug#69353] [PATCH 2/2] gnu: Add theft.
  2024-02-24 11:16 [bug#69353] [PATCH 0/2] The greatest theft since the invention of software Liliana Marie Prikler
  2024-02-24 11:01 ` [bug#69353] [PATCH 1/2] gnu: Add greatest Liliana Marie Prikler
@ 2024-02-24 11:01 ` Liliana Marie Prikler
  2024-02-26 16:17 ` [bug#69353] [PATCH 0/2] The greatest theft since the invention of software Maxim Cournoyer
  2024-03-05  8:21 ` bug#69353: " Efraim Flashner
  3 siblings, 0 replies; 5+ messages in thread
From: Liliana Marie Prikler @ 2024-02-24 11:01 UTC (permalink / raw)
  To: 69353

* gnu/packages/check.scm (theft): New variable.
---
 gnu/packages/check.scm | 30 ++++++++++++++++++++++++++++++
 1 file changed, 30 insertions(+)

diff --git a/gnu/packages/check.scm b/gnu/packages/check.scm
index b0d2ff199b..c822f23b8b 100644
--- a/gnu/packages/check.scm
+++ b/gnu/packages/check.scm
@@ -3127,6 +3127,36 @@ (define-public python-pyhamcrest
 allowing you to declaratively define \"match\" rules.")
     (license license:bsd-3)))
 
+(define-public theft
+  (package
+   (name "theft")
+   (version "0.4.5")
+   (source (origin
+            (method git-fetch)
+            (uri (git-reference
+                  (url "https://github.com/silentbicycle/theft")
+                  (commit (string-append "v" version))))
+            (file-name (git-file-name name version))
+            (sha256
+             (base32
+              "1n2mkawfl2bpd4pwy3mdzxwlqjjvb5bdrr2x2gldlyqdwbk7qjhd"))
+            (snippet #~(begin
+                         (delete-file "vendor/greatest.h")))))
+   (build-system gnu-build-system)
+   (arguments (list #:make-flags #~(list "VENDOR="
+                                         (string-append "CC=" #$(cc-for-target))
+                                         (string-append "PREFIX=" #$output))
+                    #:test-target "test"
+                    #:phases
+                    #~(modify-phases %standard-phases
+                        (delete 'bootstrap)
+                        (delete 'configure))))
+   (native-inputs (list greatest))
+   (home-page "https://github.com/silentbicycle/theft")
+   (synopsis "Property-based testing for C")
+   (description "Theft is a library for property-based testing.")
+   (license license:isc)))
+
 (define-public unittest-cpp
   (package
     (name "unittest-cpp")
-- 
2.41.0





^ permalink raw reply related	[flat|nested] 5+ messages in thread

* [bug#69353] [PATCH 0/2] The greatest theft since the invention of software
@ 2024-02-24 11:16 Liliana Marie Prikler
  2024-02-24 11:01 ` [bug#69353] [PATCH 1/2] gnu: Add greatest Liliana Marie Prikler
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Liliana Marie Prikler @ 2024-02-24 11:16 UTC (permalink / raw)
  To: 69353

Hi Guix,

this is a small series that just adds two packages for writing tests in
C.

Cheers

Liliana Marie Prikler (2):
  gnu: Add greatest.
  gnu: Add theft.

 gnu/packages/check.scm | 53 ++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 53 insertions(+)


base-commit: c0f88cd18649c31c75bcddf8247b14ef3e3a66a5
-- 
2.41.0





^ permalink raw reply	[flat|nested] 5+ messages in thread

* [bug#69353] [PATCH 0/2] The greatest theft since the invention of software
  2024-02-24 11:16 [bug#69353] [PATCH 0/2] The greatest theft since the invention of software Liliana Marie Prikler
  2024-02-24 11:01 ` [bug#69353] [PATCH 1/2] gnu: Add greatest Liliana Marie Prikler
  2024-02-24 11:01 ` [bug#69353] [PATCH 2/2] gnu: Add theft Liliana Marie Prikler
@ 2024-02-26 16:17 ` Maxim Cournoyer
  2024-03-05  8:21 ` bug#69353: " Efraim Flashner
  3 siblings, 0 replies; 5+ messages in thread
From: Maxim Cournoyer @ 2024-02-26 16:17 UTC (permalink / raw)
  To: Liliana Marie Prikler; +Cc: 69353

Hello,

Liliana Marie Prikler <liliana.prikler@gmail.com> writes:

> Hi Guix,
>
> this is a small series that just adds two packages for writing tests in
> C.
>
> Cheers
>
> Liliana Marie Prikler (2):
>   gnu: Add greatest.
>   gnu: Add theft.
>
>  gnu/packages/check.scm | 53 ++++++++++++++++++++++++++++++++++++++++++
>  1 file changed, 53 insertions(+)
>
>
> base-commit: c0f88cd18649c31c75bcddf8247b14ef3e3a66a5

Reviewed-by: Maxim Cournoyer <maxim.cournoyer@gmail>

-- 
Thanks,
Maxim




^ permalink raw reply	[flat|nested] 5+ messages in thread

* bug#69353: [PATCH 0/2] The greatest theft since the invention of software
  2024-02-24 11:16 [bug#69353] [PATCH 0/2] The greatest theft since the invention of software Liliana Marie Prikler
                   ` (2 preceding siblings ...)
  2024-02-26 16:17 ` [bug#69353] [PATCH 0/2] The greatest theft since the invention of software Maxim Cournoyer
@ 2024-03-05  8:21 ` Efraim Flashner
  3 siblings, 0 replies; 5+ messages in thread
From: Efraim Flashner @ 2024-03-05  8:21 UTC (permalink / raw)
  To: Liliana Marie Prikler; +Cc: 69353-done

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

These patches have been applied. Closing!

-- 
Efraim Flashner   <efraim@flashner.co.il>   רנשלפ םירפא
GPG key = A28B F40C 3E55 1372 662D  14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2024-03-05  8:23 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-02-24 11:16 [bug#69353] [PATCH 0/2] The greatest theft since the invention of software Liliana Marie Prikler
2024-02-24 11:01 ` [bug#69353] [PATCH 1/2] gnu: Add greatest Liliana Marie Prikler
2024-02-24 11:01 ` [bug#69353] [PATCH 2/2] gnu: Add theft Liliana Marie Prikler
2024-02-26 16:17 ` [bug#69353] [PATCH 0/2] The greatest theft since the invention of software Maxim Cournoyer
2024-03-05  8:21 ` bug#69353: " Efraim Flashner

Code repositories for project(s) associated with this external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.