Differences when using `make` V `port test`

Jev Bjorsell jev at ecadlabs.com
Fri Sep 23 18:30:40 UTC 2016


Thanks for the help.

I made some adjustments, and now both my pending ports are passing
`poudriere testport`.

Could someone please commit;

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=212468
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=212467

Thanks all!
Jev

On Fri, Sep 23, 2016 at 7:08 AM Mathieu Arnold <mat at freebsd.org> wrote:

> 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
>
>
>


More information about the freebsd-ports mailing list