From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:56216) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dTVyE-0004V4-AC for guix-patches@gnu.org; Fri, 07 Jul 2017 12:19:07 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dTVyA-000074-7S for guix-patches@gnu.org; Fri, 07 Jul 2017 12:19:06 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:54288) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dTVyA-00006c-3X for guix-patches@gnu.org; Fri, 07 Jul 2017 12:19:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1dTVy9-00065V-UQ for guix-patches@gnu.org; Fri, 07 Jul 2017 12:19:01 -0400 Subject: [bug#27599] [PATCH 1/2] gnu: Add cmdtest. Resent-Message-ID: From: Kei Kebreau References: <87h8yp76kj.fsf@openmailbox.org> <20170706184206.11315-1-kei@openmailbox.org> <8b934d75.AEMAMoforQgAAAAAAAAAAAPR3_EAAAACwQwAAAAAAAW9WABZXqQn@mailjet.com> <87d19d6ouj.fsf@openmailbox.org> Date: Fri, 07 Jul 2017 12:17:33 -0400 In-Reply-To: <87d19d6ouj.fsf@openmailbox.org> (Kei Kebreau's message of "Thu, 06 Jul 2017 21:02:44 -0400") Message-ID: <8760f46x2a.fsf@openmailbox.org> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" 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: Arun Isaac Cc: 27599@debbugs.gnu.org --=-=-= Content-Type: text/plain Kei Kebreau writes: > Arun Isaac writes: > >>> +(define-public cmdtest >>> + (package >>> + (name "cmdtest") >>> + (version "0.29") >>> + (source (origin >>> + (method url-fetch) >>> + (uri (string-append "http://git.liw.fi/cmdtest/snapshot/" >>> + name "-" version ".tar.gz")) >>> + (sha256 >>> + (base32 >>> + "1i6gi4yp4qqx1liax098c7nwdb24pghh11xqlrcs7lnhh079rqhb")))) >>> + (build-system python-build-system) >>> + (arguments >>> + `(#:python ,python-2)) >> >> Could you try packaging the tests as well? The #:test-target should be >> "check". >> > > Thanks for the heads up here. I'm going to see what's wrong with the > test suite now. > I can't figure out what's going wrong with the test suite. Perhaps someone familiar with the Coverage Test Runner module in python can be of assistance. >>> + (description >>> + "@code{cmdtest} black box tests Unix command line tools. >>> Roughly, it is >>> +given a command line and input files, and the expected output, and >>> it verifies >>> +that the command line produces the expected output. If not, it reports a >>> +problem, and shows the differences.") >> >> The first sentence of the description should be a full sentence. > > That could be interpreted as a sentence, though I agree it's rough. I'll > replace it in the next patch. --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEg7ZwOtzKO2lLzi2m5qXuPBlGeg0FAllftB0ACgkQ5qXuPBlG eg15wg/5AYTeVjEdc+T988fHwoKKeT8Lu4GexQQTT+IHVmoLFhv53txcLuwTj84g xF8GSvmprviBn/rFhQqbZQ+mIzOCI1vyUwP7lQUKYvnQWcScdHU17hQgK5NN8blF jlQtxN/YJ80oLkM8GMc67Xcc+Viwipnyom/2tqULKJiXrlqGT89Wu30d1UY9ADjl nN1QS8l4+k7n+CfqtlHth9greJirPffcE7zY3MHBgiYqkFgsMLMELPrmVhrxaQKT aYEQrsp64uAxDSchbMNd9T6zGrxu1sm+YIm1GsEWU5iOzj6HDJoe9J4HvHsXEnS9 brhFEebnVrzEKKzGGyBDu87orjTAeMsgMKwm7dAwqIZbpo4DVONkUpALWQKgKN2z 2zLPyXP4mcMcMJ+o6F46celBLyrNl3yE7ReEXHdnYuvlpQq+vfFBj+9OkUeY2ijb vObiMti8dbKheFCxLsyXWl/pSCnkungF2wfGGyZ4b/Ti+IFJJdR9Rmnuv+u7MB8u rE8lQh110zq1fSGLcrjG1DxvUPlG/U5QlMyJgn8PR2h0o4+91Dirkr4JUY/OYd1k msW66+Uuq84sN+4l/DABLgwnxoKHvrZd1GgK8q+TEAOK41dU1Twcj7NppyxqaFSL 5FMQEBq/LW43heMYXLJQMXigNF+dDi+yZIEFux15KcrnwZD3now= =Z0Ck -----END PGP SIGNATURE----- --=-=-=--