Differences when using `make` V `port test`

Mathieu Arnold mat at FreeBSD.org
Fri Sep 23 14:08:10 UTC 2016


Le 23/09/2016 à 15:26, Alexander Moisseev via freebsd-ports a é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=yes
>>
>> 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.html

-- 
Mathieu Arnold


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 949 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20160923/1254cb28/attachment.sig>


More information about the freebsd-ports mailing list