Standard way to run test target in specific port

Mathieu Arnold mat at FreeBSD.org
Sun May 14 11:25:04 UTC 2017


Le 14/05/2017 à 11:13, José G. Juanino a écrit :
> 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=   test

and then, you simply run:

make test

from the ports directory. Do not add options knobs for it.


-- 
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/20170514/ff875d8a/attachment.sig>


More information about the freebsd-ports mailing list