From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:47533) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1doqLM-0002Af-3o for guix-patches@gnu.org; Mon, 04 Sep 2017 08:19:13 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1doqLG-0007fR-MZ for guix-patches@gnu.org; Mon, 04 Sep 2017 08:19:08 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:39212) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1doqLG-0007fI-I1 for guix-patches@gnu.org; Mon, 04 Sep 2017 08:19:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1doqLG-0007Sx-AO for guix-patches@gnu.org; Mon, 04 Sep 2017 08:19:02 -0400 Subject: [bug#28344] cpputest Resent-Message-ID: Received: from eggs.gnu.org ([2001:4830:134:3::10]:46701) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1doqJy-0001vf-Bc for guix-patches@gnu.org; Mon, 04 Sep 2017 08:17:47 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1doqJt-0006gc-5d for guix-patches@gnu.org; Mon, 04 Sep 2017 08:17:42 -0400 Received: from aibo.runbox.com ([91.220.196.211]:38348) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1doqJs-0006eg-TI for guix-patches@gnu.org; Mon, 04 Sep 2017 08:17:37 -0400 Received: from [10.9.9.211] (helo=mailfront11.runbox.com) by mailtransmit02.runbox with esmtp (Exim 4.86_2) (envelope-from ) id 1doqJp-00036t-6d for guix-patches@gnu.org; Mon, 04 Sep 2017 14:17:33 +0200 Received: from this-is-a-tor-exit-node---keywebtor3.artikel5ev.de ([87.118.122.51] helo=localhost) by mailfront11.runbox.com with esmtpsa (uid:892961 ) (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) id 1doqJo-0002zn-GN for guix-patches@gnu.org; Mon, 04 Sep 2017 14:17:32 +0200 Date: Mon, 4 Sep 2017 12:17:29 +0000 From: ng0 Message-ID: <20170904121729.ig3e5r3qxxmfzpkv@abyayala> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="qzjzol374u657m2c" Content-Disposition: inline List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: 28344@debbugs.gnu.org --qzjzol374u657m2c Content-Type: multipart/mixed; boundary="zilfw7p5uwkedwox" Content-Disposition: inline --zilfw7p5uwkedwox Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable This adds cpputest, required for Weechat tests. --=20 ng0 GnuPG: A88C8ADD129828D7EAC02E52E22F9BBFEE348588 GnuPG: https://n0is.noblogs.org/my-keys https://www.infotropique.org https://krosos.org --zilfw7p5uwkedwox Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0001-gnu-Add-cpputest.patch" Content-Transfer-Encoding: quoted-printable =46rom 174b05f9528f7693d5dbf63a7ad513143debfa40 Mon Sep 17 00:00:00 2001 =46rom: ng0 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 =C2=A9 2016 Lukas Gradl ;;; Copyright =C2=A9 2017 Mathieu Othacehe ;;; Copyright =C2=A9 2017 Kei Kebreau +;;; Copyright =C2=A9 2017 ng0 ;;; ;;; This file is part of GNU Guix. ;;; @@ -270,3 +271,27 @@ normally do not detect. The goal is to detect only re= al 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))) --=20 2.14.1 --zilfw7p5uwkedwox-- --qzjzol374u657m2c Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEqIyK3RKYKNfqwC5S4i+bv+40hYgFAlmtRFkACgkQ4i+bv+40 hYjGdA//Yz4OZvX7AP9S65usdEFylmKp9Wu1w8laQfD2O8AaCH+hhXToyDzTXAuG XmP5235rZ9vmrnesWSwWuTJPszzggHZKT+8I3GvdDYRCtLXvgOLu81Rs+1/BSe3g QuDHnBbtP9uwS7XHh+Mhu5fSaKXSCkI4SjUIaLRphLRD6z8UgPbH8RTWSjaVVtD0 iR0+mPqy/v55E+BEAd5Uss7RObFlY+RDxIC5JppWA71KA6Axxytb4WQe7OsI2yAd YbzvmqPFrZwLAgcG7opc+PTDbC6RgMwILoVvttWmSA1Rj/eSjkoicVQHdsMJ/ikS JWfid/vgkVtAgUBHuSNII7c+FscJdelZzi3LSwubiYfYDbuUQjgsdqSlN3DtOdqQ vF090EMSeGxIPkftUgineFRo5Xm5jY1oRJwP9rj3NJOB+/a/PCtFPNf5ZGnP2y2F 369FylW1FLHOrBiK/1pnciB2u5ylYbQ8wNL6Xho6qJWxIvi6uuIPEBWIWNMuoZE2 wzhFaj29PGgL9Aq8heYCKOPWsEVCF864DjK3M5Mmh2WzmgxJl6gR0RM45MtwfZiV 1avFriiuf1IHHYPELQno8QL22SZtyDHmP3UEOE/a1ATPUDkA+RWW9SHyO67nkLs3 RLEhykwR2yqa9b6XLKVtpsELagV1EXVnbC6LM7LEyKCiKdIXx2E= =fdW/ -----END PGP SIGNATURE----- --qzjzol374u657m2c--