From owner-freebsd-ports@freebsd.org Fri Sep 23 14:08:10 2016 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 34EB4BDCB4E for ; Fri, 23 Sep 2016 14:08:10 +0000 (UTC) (envelope-from mat@FreeBSD.org) Received: from prod2.absolight.net (prod2.absolight.net [79.143.243.136]) (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 C7641355 for ; Fri, 23 Sep 2016 14:08:09 +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 E2AB4BDCFC; Fri, 23 Sep 2016 16:08:07 +0200 (CEST) Received: from ogg.in.absolight.net (ogg.in.absolight.net [79.143.241.239]) (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 D5EFEBDC89; Fri, 23 Sep 2016 16:08:07 +0200 (CEST) Subject: Re: Differences when using `make` V `port test` To: Alexander Moisseev , freebsd-ports@freebsd.org References: <3ef6ea87-0a2c-e87e-66e2-535c11d01ed1@FreeBSD.org> <2177a1e7-fa9f-4707-5a6b-7b0bd01b02af@mezonplus.ru> From: Mathieu Arnold Organization: Absolight / The FreeBSD Foundation Message-ID: <82026752-a388-a3c0-6fe7-4766db9096ac@FreeBSD.org> Date: Fri, 23 Sep 2016 16:08:06 +0200 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.11; rv:45.0) Gecko/20100101 Thunderbird/45.3.0 MIME-Version: 1.0 In-Reply-To: <2177a1e7-fa9f-4707-5a6b-7b0bd01b02af@mezonplus.ru> Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="hqR5SQVkd6xRADkr2e4ntxUVSeQH0OWqF" 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: Fri, 23 Sep 2016 14:08:10 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --hqR5SQVkd6xRADkr2e4ntxUVSeQH0OWqF Content-Type: multipart/mixed; boundary="NvUxW24aLDJBEqVl8kt7L2IK28sAiM68L"; protected-headers="v1" From: Mathieu Arnold To: Alexander Moisseev , freebsd-ports@freebsd.org Message-ID: <82026752-a388-a3c0-6fe7-4766db9096ac@FreeBSD.org> Subject: Re: Differences when using `make` V `port test` References: <3ef6ea87-0a2c-e87e-66e2-535c11d01ed1@FreeBSD.org> <2177a1e7-fa9f-4707-5a6b-7b0bd01b02af@mezonplus.ru> In-Reply-To: <2177a1e7-fa9f-4707-5a6b-7b0bd01b02af@mezonplus.ru> --NvUxW24aLDJBEqVl8kt7L2IK28sAiM68L Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Le 23/09/2016 =C3=A0 15:26, Alexander Moisseev via freebsd-ports a =C3=A9= crit : > On 23.09.2016 15:45, Mathieu Arnold wrote: >> >> I don't really know what it does, but to test a port, it seems >> overcomplicated, everything is already done by the framework. >> >> Best would be for you to put: >> >> DEVELOPER=3Dyes >> >> in /etc/make.conf >> >> and simply run "make" as a regular user, it will check everything that= >> can be. >> > I believe the most important difference is "port test" does real > install (into a temp dir) and deinstall, "make" doesn't (merely staging= ). I don't really see a point in really installing the port, the only thing this achieve is test pkg add works. These days, it is better to use poudriere testport[1] to test your work. At least you can be certain everything is ok. 1: https://www.freebsd.org/doc/en/books/porters-handbook/testing-poudriere.h= tml --=20 Mathieu Arnold --NvUxW24aLDJBEqVl8kt7L2IK28sAiM68L-- --hqR5SQVkd6xRADkr2e4ntxUVSeQH0OWqF 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 iQJ8BAEBCgBmBQJX5TdHXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQzQUI2OTc4OUQyRUQxMjEwNjQ0MEJBNUIz QTQ1MTZGMzUxODNDRTQ4AAoJEDpFFvNRg85I2CAP/2qGg4ptgse2Q8Ax6J+67FKs H//7dKOcKpV8OawMIyKBZD4JA50yf7dOIEzHK29XSXWMs9HRVlak9ggg7x3ZP9Z7 qJkEqsBbVlD48RoZFXJUoYeQzFTcXk2BcgL4x30eDCNL/fVkdtdjo7EM4T4/TeIC XRQS6rPGxbWMc+XqoxQGk/dhBlNZWvGHQKAfwmuKVGH40KGid5iDb8Sb8oO31Wym s0UKjpUzfRca0kUwjm4pD8ptTCoC1i7AJTBT+n9VeWr7uHKyHczFXknL6H6QKtn4 vNtIt1dcKnXnuLsHXI2Yvk4eF9BxERimfKJ2n467Oe3aMKJvzqI+uIwHFQg5sc83 cVGRyHsENqUHthvU28VMwHjLFyHFyT9gw2e7GpqeAtS2xgT06nxEJLPHqTlKmF7G 4oVRmViNwG6Yeqk6Y3HIftb+le6HR7zH5oKtTtf59TCZWu1S3TrkwJXM2d1wPk2y U66qycvG89jvMc3ZuttdhD52lYY9YBAv6Ut3wIH+jDDCEc98cCSrJA8lrqn8f2H4 CqJfjn5k4hIKeYAYPOK9cAOENbe3QmRe/YFsSWYa714QrCd3RJRRyQ49rqeXY73M bxotamIaj4WcSXe2z61QGGYAgeffluTp5wMCKLbihvvTXFIRhpPYuCcUfUBSlKmw zeR+sFdtO0DfvHObNnXW =zA+C -----END PGP SIGNATURE----- --hqR5SQVkd6xRADkr2e4ntxUVSeQH0OWqF--