Subject: bug#28344: closed (Re: [bug#28344] cpputest)

From: [email-masked] (GNU bug Tracking System)
Date: Thu, 14 Sep 2017 12:02:04 +0000

Your bug report

#28344: cpputest

which was filed against the guix-patches package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to [email-masked].

-- 
28344: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=28344
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: Re: [bug#28344] cpputest
From: [email-masked] (Ludovic Courtès)
To: ng0 <[email-masked]>
Cc: [email-masked]
Date: Thu, 14 Sep 2017 14:01:13 +0200
List-Id: <debbugs-submit.debbugs.gnu.org>

ng0 <[email-masked]> skribis:

> This adds cpputest, required for Weechat tests.
> -- 
> ng0
> GnuPG: A88C8ADD129828D7EAC02E52E22F9BBFEE348588
> GnuPG: https://n0is.noblogs.org/my-keys
> https://www.infotropique.org https://krosos.org
>
> From 174b05f9528f7693d5dbf63a7ad513143debfa40 Mon Sep 17 00:00:00 2001
> From: ng0 <[email-masked]>
> Date: Mon, 4 Sep 2017 11:59:46 +0000
> Subject: [PATCH] gnu: Add cpputest.
>
> * gnu/packages/check.scm (cpputest): New variable.

Applied, thanks!

Ludo'.

Subject: cpputest
From: ng0 <[email-masked]>
To: [email-masked]
Date: Mon, 4 Sep 2017 12:17:29 +0000
List-Id: <debbugs-submit.debbugs.gnu.org>

This adds cpputest, required for Weechat tests.
-- 
ng0
GnuPG: A88C8ADD129828D7EAC02E52E22F9BBFEE348588
GnuPG: https://n0is.noblogs.org/my-keys
https://www.infotropique.org https://krosos.org
From 174b05f9528f7693d5dbf63a7ad513143debfa40 Mon Sep 17 00:00:00 2001
From: ng0 <[email-masked]>
Date: Mon, 4 Sep 2017 11:59:46 +0000
Subject: [PATCH] gnu: Add cpputest.

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

diff --git a/gnu/packages/check.scm b/gnu/packages/check.scm
index 198bb81f8..2960e5c3e 100644
--- a/gnu/packages/check.scm
+++ b/gnu/packages/check.scm
@@ -8,6 +8,7 @@
 ;;; Copyright © 2016 Lukas Gradl <[email-masked]>
 ;;; Copyright © 2017 Mathieu Othacehe <[email-masked]>
 ;;; Copyright © 2017 Kei Kebreau <[email-masked]>
+;;; Copyright © 2017 ng0 <[email-masked]>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -270,3 +271,27 @@ normally do not detect.  The goal is to detect only real errors in the code
 discovery, death tests, assertions, parameterized tests and XML test report
 generation.")
     (license bsd-3)))
+
+(define-public cpputest
+  (package
+    (name "cpputest")
+    (version "3.8")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append "https://github.com/cpputest/cpputest/releases/download/v"
+                           version "/cpputest-" version ".tar.gz"))
+       (sha256
+        (base32
+         "0mk48xd3klyqi7wf3f4wn4zqxxzmvrhhl32r25jzrixzl72wq7f8"))))
+    (build-system gnu-build-system)
+    (native-inputs
+     `(("googletest" ,googletest)))
+    (home-page "https://cpputest.github.io/")
+    (synopsis "Unit testing and mocking framework for C/C++")
+    (description
+     "CppUTest is a C /C++ based unit xUnit test framework for
+unit testing and for test-driving your code.  It is written in
+C++ but is used in C and C++ projects and frequently used in
+embedded systems but it works for any C/C++ project.")
+    (license bsd-3)))
-- 
2.14.1