unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#31078] [PATCH] gnu: Add unittest-cpp.
@ 2018-04-06 18:44 Fis Trivial
  2018-04-06 19:30 ` [bug#31078] Please ignore this patch, I will send another one Fis Trivial
  2018-04-06 19:31 ` [bug#31078] [PATCH] gnu: Add unittest-cpp Fis Trivial
  0 siblings, 2 replies; 4+ messages in thread
From: Fis Trivial @ 2018-04-06 18:44 UTC (permalink / raw)
  To: 31078


* 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

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

* [bug#31078] Please ignore this patch, I will send another one.
  2018-04-06 18:44 [bug#31078] [PATCH] gnu: Add unittest-cpp Fis Trivial
@ 2018-04-06 19:30 ` Fis Trivial
  2018-04-06 19:31 ` [bug#31078] [PATCH] gnu: Add unittest-cpp Fis Trivial
  1 sibling, 0 replies; 4+ messages in thread
From: Fis Trivial @ 2018-04-06 19:30 UTC (permalink / raw)
  To: Fis Trivial; +Cc: 31078@debbugs.gnu.org


I forgot to do lint, the code contains tabs. I'm a little bit rusty
now. Sorry about that.

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

* [bug#31078] [PATCH] gnu: Add unittest-cpp.
  2018-04-06 18:44 [bug#31078] [PATCH] gnu: Add unittest-cpp Fis Trivial
  2018-04-06 19:30 ` [bug#31078] Please ignore this patch, I will send another one Fis Trivial
@ 2018-04-06 19:31 ` Fis Trivial
  2018-04-08 21:00   ` bug#31078: " Ludovic Courtès
  1 sibling, 1 reply; 4+ messages in thread
From: Fis Trivial @ 2018-04-06 19:31 UTC (permalink / raw)
  To: Fis Trivial; +Cc: 31078@debbugs.gnu.org


* 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

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

* bug#31078: [PATCH] gnu: Add unittest-cpp.
  2018-04-06 19:31 ` [bug#31078] [PATCH] gnu: Add unittest-cpp Fis Trivial
@ 2018-04-08 21:00   ` Ludovic Courtès
  0 siblings, 0 replies; 4+ messages in thread
From: Ludovic Courtès @ 2018-04-08 21:00 UTC (permalink / raw)
  To: Fis Trivial; +Cc: 31078@debbugs.gnu.org

Hello,

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

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

Applied, thanks!

Ludo’.

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

end of thread, other threads:[~2018-04-08 21:01 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-04-06 18:44 [bug#31078] [PATCH] gnu: Add unittest-cpp Fis Trivial
2018-04-06 19:30 ` [bug#31078] Please ignore this patch, I will send another one Fis Trivial
2018-04-06 19:31 ` [bug#31078] [PATCH] gnu: Add unittest-cpp Fis Trivial
2018-04-08 21:00   ` bug#31078: " Ludovic Courtès

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).