From owner-freebsd-ports@freebsd.org Sun May 14 11:25:04 2017 Return-Path: Delivered-To: freebsd-ports@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 14E36D6C2A2 for ; Sun, 14 May 2017 11:25:04 +0000 (UTC) (envelope-from mat@FreeBSD.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id EC55FE45 for ; Sun, 14 May 2017 11:25:03 +0000 (UTC) (envelope-from mat@FreeBSD.org) Received: by mailman.ysv.freebsd.org (Postfix) id E8B3ED6C2A0; Sun, 14 May 2017 11:25:03 +0000 (UTC) Delivered-To: ports@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id E85A1D6C29E for ; Sun, 14 May 2017 11:25:03 +0000 (UTC) (envelope-from mat@FreeBSD.org) Received: from prod2.absolight.net (mx3.absolight.net [IPv6:2a01:678:2:100::25]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "plouf.absolight.net", Issuer "CAcert Class 3 Root" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id B071CE44 for ; Sun, 14 May 2017 11:25:03 +0000 (UTC) (envelope-from mat@FreeBSD.org) Received: from prod2.absolight.net (localhost [127.0.0.1]) by prod2.absolight.net (Postfix) with ESMTP id 1A646BDC9B; Sun, 14 May 2017 13:25:02 +0200 (CEST) Received: from atuin.in.mat.cc (atuin.in.mat.cc [79.143.241.205]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by prod2.absolight.net (Postfix) with ESMTPSA id D6D3ABDC89; Sun, 14 May 2017 13:25:01 +0200 (CEST) Subject: Re: Standard way to run test target in specific port To: =?UTF-8?Q?Jos=c3=a9_G._Juanino?= , ports@freebsd.org References: <20170514091325.76yi5rxb2a2tjs53@abel.home.inet> From: Mathieu Arnold Organization: Absolight / The FreeBSD Foundation Message-ID: <728a1caf-6dc0-806a-a3c7-c20a699102c2@FreeBSD.org> Date: Sun, 14 May 2017 13:25:00 +0200 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.11; rv:52.0) Gecko/20100101 Thunderbird/52.1.0 MIME-Version: 1.0 In-Reply-To: <20170514091325.76yi5rxb2a2tjs53@abel.home.inet> Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="tK6VDxAgrIfHPVBBJ3noPh3kvWODOEtIV" X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 14 May 2017 11:25:04 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --tK6VDxAgrIfHPVBBJ3noPh3kvWODOEtIV Content-Type: multipart/mixed; boundary="A9MOkGIMgAvDvXU3oUckhX6BsvxRrXsS7"; protected-headers="v1" From: Mathieu Arnold To: =?UTF-8?Q?Jos=c3=a9_G._Juanino?= , ports@freebsd.org Message-ID: <728a1caf-6dc0-806a-a3c7-c20a699102c2@FreeBSD.org> Subject: Re: Standard way to run test target in specific port References: <20170514091325.76yi5rxb2a2tjs53@abel.home.inet> In-Reply-To: <20170514091325.76yi5rxb2a2tjs53@abel.home.inet> --A9MOkGIMgAvDvXU3oUckhX6BsvxRrXsS7 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Content-Language: fr Le 14/05/2017 =C3=A0 11:13, Jos=C3=A9 G. Juanino a =C3=A9crit : > Hello FreeBSD ports! > > I am porting a backup software (bup backup), and the upstream Makefile > has a "test" target. I find useful to make a port knob to allow run > such test (disabled by default). What is the best way to accomplish > that task? Is there any doc or "best practique" to watch for? > You do: TEST_TARGET=3D test and then, you simply run: make test from the ports directory. Do not add options knobs for it. --=20 Mathieu Arnold --A9MOkGIMgAvDvXU3oUckhX6BsvxRrXsS7-- --tK6VDxAgrIfHPVBBJ3noPh3kvWODOEtIV Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQJ8BAEBCgBmBQJZGD6NXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQzQUI2OTc4OUQyRUQxMjEwNjQ0MEJBNUIz QTQ1MTZGMzUxODNDRTQ4AAoJEDpFFvNRg85I/zUP/0/1MaNQ6wIcZkztBmLls/YU ukDBlhX3Q46j2/fCC43A0OMKDqY0BLELZXRxL0UiPzQOnoOlsQp7XzJAhg6byRi4 kc//b7VPOH+8v2fxBl+Q3V7iTUbNH2RwIK/k2Wf4biZ9yasUHycSp11uhtwamquj kAZwbZk2T65tkvPkmTju851ioatXV/R6TDrujx1wcTO6OQduju/JDERdtwAfMUB5 vUaSfZY4o1pIH5XLiVqvdwjgcatxctUTi6ts2HP0UXo/n2ZrMc0QiUh65JrbtR4c A5cq3s3nzYFBEjFjbcv8F///nQ5Vab7qz6fJGTmHic3EOzS/M+Tm3ylC8Q+2WaBC pPEoyI8weF7QrbLhZoSz/cVxrnWJduBr+3mtnIA7VdNT91WY1QMTs0VIY3jDaV7y /XDcgrM5mpvXU+DKJAQOj26LV1Uo2b3Yk4+zN3WTh+t+k5VEDv55BtW0PVF+4Huu QKW/DkTTvgXtWtoDNkY3mLBNhYndcTzXCkhNCQJoPkcn3PJeSP9GAoOzL4fz8RCf tmfqMybCwtKwOgW4eOskr9gKHJYI7b2ljbXyJvp4t2h60N8I67iNjg3FZqg9tjkt mu3IQpoKQsf8ao/peNEJLH3NN5bEEGiO61odQETa8c1dhtJHBqyDZ0WaPDw0oQLV zFxMKskVEwV9SyzBW2lX =+HP3 -----END PGP SIGNATURE----- --tK6VDxAgrIfHPVBBJ3noPh3kvWODOEtIV--