guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

04/04: gnu: Add cpputest.


From: Ludovic Courtès
Subject: 04/04: gnu: Add cpputest.
Date: Thu, 14 Sep 2017 08:07:36 -0400 (EDT)

civodul pushed a commit to branch master
in repository guix.

commit c61794cf451f84df532dadbc0660c5fef92d337b
Author: ng0 <address@hidden>
Date:   Mon Sep 4 11:59:46 2017 +0000

    gnu: Add cpputest.
    
    * gnu/packages/check.scm (cpputest): New variable.
    
    Signed-off-by: Ludovic Courtès <address@hidden>
---
 gnu/packages/check.scm | 24 ++++++++++++++++++++++++
 1 file changed, 24 insertions(+)

diff --git a/gnu/packages/check.scm b/gnu/packages/check.scm
index 198bb81..fcfedb9 100644
--- a/gnu/packages/check.scm
+++ b/gnu/packages/check.scm
@@ -8,6 +8,7 @@
 ;;; Copyright © 2016 Lukas Gradl <address@hidden>
 ;;; Copyright © 2017 Mathieu Othacehe <address@hidden>
 ;;; Copyright © 2017 Kei Kebreau <address@hidden>
+;;; Copyright © 2017 ng0 <address@hidden>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -270,3 +271,26 @@ 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.  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)))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]