Standard way to run test target in specific port

José G. Juanino jjuanino at
Sun May 14 12:26:28 UTC 2017

El domingo 14 de mayo a las 13:25:00 CEST, Mathieu Arnold escribió:
>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.

Thanks for your response, I will do so. 


José G. Juanino
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 195 bytes
Desc: not available
URL: <>

More information about the freebsd-ports mailing list