Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 23 Sep 2016 16:08:06 +0200
From:      Mathieu Arnold <mat@FreeBSD.org>
To:        Alexander Moisseev <moiseev@mezonplus.ru>, freebsd-ports@freebsd.org
Subject:   Re: Differences when using `make` V `port test`
Message-ID:  <82026752-a388-a3c0-6fe7-4766db9096ac@FreeBSD.org>
In-Reply-To: <2177a1e7-fa9f-4707-5a6b-7b0bd01b02af@mezonplus.ru>
References:  <CAGKJJVnDPx5YXQxMdjkbKSjeTETsBfsMtd-0Nnem58=F0x_1Pw@mail.gmail.com> <3ef6ea87-0a2c-e87e-66e2-535c11d01ed1@FreeBSD.org> <2177a1e7-fa9f-4707-5a6b-7b0bd01b02af@mezonplus.ru>

next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 4880 and 3156)
--hqR5SQVkd6xRADkr2e4ntxUVSeQH0OWqF
Content-Type: multipart/mixed; boundary="NvUxW24aLDJBEqVl8kt7L2IK28sAiM68L";
 protected-headers="v1"
From: Mathieu Arnold <mat@FreeBSD.org>
To: Alexander Moisseev <moiseev@mezonplus.ru>, freebsd-ports@freebsd.org
Message-ID: <82026752-a388-a3c0-6fe7-4766db9096ac@FreeBSD.org>
Subject: Re: Differences when using `make` V `port test`
References: <CAGKJJVnDPx5YXQxMdjkbKSjeTETsBfsMtd-0Nnem58=F0x_1Pw@mail.gmail.com>
 <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 <file> 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--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?82026752-a388-a3c0-6fe7-4766db9096ac>