GNU bug report logs - #31078
[PATCH] gnu: Add unittest-cpp.

Previous Next

Package: guix-patches;

Reported by: Fis Trivial <ybbs.daans <at> hotmail.com>

Date: Fri, 6 Apr 2018 18:45:02 UTC

Severity: normal

Tags: patch

Done: ludo <at> gnu.org (Ludovic Courtès)

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 31078 in the body.
You can then email your comments to 31078 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to guix-patches <at> gnu.org:
bug#31078; Package guix-patches. (Fri, 06 Apr 2018 18:45:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Fis Trivial <ybbs.daans <at> hotmail.com>:
New bug report received and forwarded. Copy sent to guix-patches <at> gnu.org. (Fri, 06 Apr 2018 18:45:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Fis Trivial <ybbs.daans <at> hotmail.com>
To: "guix-patches <at> gnu.org" <guix-patches <at> gnu.org>
Subject: [PATCH] gnu: Add unittest-cpp.
Date: Fri, 6 Apr 2018 18:44:24 +0000
* gnu/packages/check.scm (unittest-cpp): New public variable.
---
 gnu/packages/check.scm | 25 +++++++++++++++++++++++++
 1 file changed, 25 insertions(+)

diff --git a/gnu/packages/check.scm b/gnu/packages/check.scm
index 99c6c494e..0042c99bb 100644
--- a/gnu/packages/check.scm
+++ b/gnu/packages/check.scm
@@ -2003,3 +2003,28 @@ retried.")
 
 (define-public python2-pyhamcrest
   (package-with-python2 python-pyhamcrest))
+
+(define-public unittest-cpp
+  (package
+   (name "unittest-cpp")
+   (version "2.0.0")
+   (source (origin
+	    (method url-fetch)
+	    (uri (string-append
+		  "https://github.com/unittest-cpp/unittest-cpp/archive/v"
+		  version ".tar.gz"))
+            (file-name (string-append name "-" version ".tar.gz"))
+	    (sha256
+	     (base32 "1fgmna2la7z4pwwy2gd10gpgi2q1fk89npjfvkmzvhkxhyc231bl"))))
+   (arguments
+    `(#:tests? #f))			; It's run after build automatically.
+   (build-system cmake-build-system)
+   (home-page "https://github.com/unittest-cpp/unittest-cpp")
+   (synopsis "Lightweight unit testing framework for C++")
+   (description "UnitTest++ is a lightweight unit testing framework for C++.
+It was designed to do test-driven development on a wide variety of platforms.
+Simplicity, portability, speed, and small footprint are all very important
+aspects of UnitTest++.  UnitTest++ is mostly standard C++ and makes minimal use
+of advanced library and language features, which means it should be easily
+portable to just about any platform.")
+   (license license:expat)))
-- 
2.14.3





Information forwarded to guix-patches <at> gnu.org:
bug#31078; Package guix-patches. (Fri, 06 Apr 2018 19:31:02 GMT) Full text and rfc822 format available.

Message #8 received at 31078 <at> debbugs.gnu.org (full text, mbox):

From: Fis Trivial <ybbs.daans <at> hotmail.com>
To: Fis Trivial <ybbs.daans <at> hotmail.com>
Cc: "31078 <at> debbugs.gnu.org" <31078 <at> debbugs.gnu.org>
Subject: Re: [bug#31078] Please ignore this patch, I will send another one.
Date: Fri, 6 Apr 2018 19:30:06 +0000
I forgot to do lint, the code contains tabs. I'm a little bit rusty
now. Sorry about that.




Information forwarded to guix-patches <at> gnu.org:
bug#31078; Package guix-patches. (Fri, 06 Apr 2018 19:32:02 GMT) Full text and rfc822 format available.

Message #11 received at 31078 <at> debbugs.gnu.org (full text, mbox):

From: Fis Trivial <ybbs.daans <at> hotmail.com>
To: Fis Trivial <ybbs.daans <at> hotmail.com>
Cc: "31078 <at> debbugs.gnu.org" <31078 <at> debbugs.gnu.org>
Subject: [PATCH] gnu: Add unittest-cpp.
Date: Fri, 6 Apr 2018 19:31:47 +0000
* gnu/packages/check.scm (unittest-cpp): New public variable.
---
 gnu/packages/check.scm | 25 +++++++++++++++++++++++++
 1 file changed, 25 insertions(+)

diff --git a/gnu/packages/check.scm b/gnu/packages/check.scm
index 99c6c494e..ce46e34bf 100644
--- a/gnu/packages/check.scm
+++ b/gnu/packages/check.scm
@@ -2003,3 +2003,28 @@ retried.")
 
 (define-public python2-pyhamcrest
   (package-with-python2 python-pyhamcrest))
+
+(define-public unittest-cpp
+  (package
+    (name "unittest-cpp")
+    (version "2.0.0")
+    (source (origin
+              (method url-fetch)
+              (uri (string-append
+                    "https://github.com/unittest-cpp/unittest-cpp/archive/v"
+                    version ".tar.gz"))
+              (file-name (string-append name "-" version ".tar.gz"))
+              (sha256
+               (base32 "1fgmna2la7z4pwwy2gd10gpgi2q1fk89npjfvkmzvhkxhyc231bl"))))
+    (arguments
+     `(#:tests? #f))                     ; It's run after build automatically.
+    (build-system cmake-build-system)
+    (home-page "https://github.com/unittest-cpp/unittest-cpp")
+    (synopsis "Lightweight unit testing framework for C++")
+    (description "UnitTest++ is a lightweight unit testing framework for C++.
+It was designed to do test-driven development on a wide variety of platforms.
+Simplicity, portability, speed, and small footprint are all very important
+aspects of UnitTest++.  UnitTest++ is mostly standard C++ and makes minimal use
+of advanced library and language features, which means it should be easily
+portable to just about any platform.")
+    (license license:expat)))
-- 
2.14.3




Reply sent to ludo <at> gnu.org (Ludovic Courtès):
You have taken responsibility. (Sun, 08 Apr 2018 21:01:01 GMT) Full text and rfc822 format available.

Notification sent to Fis Trivial <ybbs.daans <at> hotmail.com>:
bug acknowledged by developer. (Sun, 08 Apr 2018 21:01:02 GMT) Full text and rfc822 format available.

Message #16 received at 31078-done <at> debbugs.gnu.org (full text, mbox):

From: ludo <at> gnu.org (Ludovic Courtès)
To: Fis Trivial <ybbs.daans <at> hotmail.com>
Cc: "31078 <at> debbugs.gnu.org" <31078-done <at> debbugs.gnu.org>
Subject: Re: [bug#31078] [PATCH] gnu: Add unittest-cpp.
Date: Sun, 08 Apr 2018 23:00:17 +0200
Hello,

Fis Trivial <ybbs.daans <at> hotmail.com> skribis:

> * gnu/packages/check.scm (unittest-cpp): New public variable.

Applied, thanks!

Ludo’.




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Mon, 07 May 2018 11:24:04 GMT) Full text and rfc822 format available.

This bug report was last modified 7 years and 48 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.