Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 14 May 2017 13:25:00 +0200
From:      Mathieu Arnold <mat@FreeBSD.org>
To:        =?UTF-8?Q?Jos=c3=a9_G._Juanino?= <jjuanino@gmail.com>, ports@freebsd.org
Subject:   Re: Standard way to run test target in specific port
Message-ID:  <728a1caf-6dc0-806a-a3c7-c20a699102c2@FreeBSD.org>
In-Reply-To: <20170514091325.76yi5rxb2a2tjs53@abel.home.inet>
References:  <20170514091325.76yi5rxb2a2tjs53@abel.home.inet>

next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 4880 and 3156)
--tK6VDxAgrIfHPVBBJ3noPh3kvWODOEtIV
Content-Type: multipart/mixed; boundary="A9MOkGIMgAvDvXU3oUckhX6BsvxRrXsS7";
 protected-headers="v1"
From: Mathieu Arnold <mat@FreeBSD.org>
To: =?UTF-8?Q?Jos=c3=a9_G._Juanino?= <jjuanino@gmail.com>, ports@freebsd.org
Message-ID: <728a1caf-6dc0-806a-a3c7-c20a699102c2@FreeBSD.org>
Subject: Re: Standard way to run test target in specific port
References: <20170514091325.76yi5rxb2a2tjs53@abel.home.inet>
In-Reply-To: <20170514091325.76yi5rxb2a2tjs53@abel.home.inet>

--A9MOkGIMgAvDvXU3oUckhX6BsvxRrXsS7
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
Content-Language: fr

Le 14/05/2017 =C3=A0 11:13, Jos=C3=A9 G. Juanino a =C3=A9crit :
> 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=3D   test

and then, you simply run:

make test

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


--=20
Mathieu Arnold



--A9MOkGIMgAvDvXU3oUckhX6BsvxRrXsS7--

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

iQJ8BAEBCgBmBQJZGD6NXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w
ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQzQUI2OTc4OUQyRUQxMjEwNjQ0MEJBNUIz
QTQ1MTZGMzUxODNDRTQ4AAoJEDpFFvNRg85I/zUP/0/1MaNQ6wIcZkztBmLls/YU
ukDBlhX3Q46j2/fCC43A0OMKDqY0BLELZXRxL0UiPzQOnoOlsQp7XzJAhg6byRi4
kc//b7VPOH+8v2fxBl+Q3V7iTUbNH2RwIK/k2Wf4biZ9yasUHycSp11uhtwamquj
kAZwbZk2T65tkvPkmTju851ioatXV/R6TDrujx1wcTO6OQduju/JDERdtwAfMUB5
vUaSfZY4o1pIH5XLiVqvdwjgcatxctUTi6ts2HP0UXo/n2ZrMc0QiUh65JrbtR4c
A5cq3s3nzYFBEjFjbcv8F///nQ5Vab7qz6fJGTmHic3EOzS/M+Tm3ylC8Q+2WaBC
pPEoyI8weF7QrbLhZoSz/cVxrnWJduBr+3mtnIA7VdNT91WY1QMTs0VIY3jDaV7y
/XDcgrM5mpvXU+DKJAQOj26LV1Uo2b3Yk4+zN3WTh+t+k5VEDv55BtW0PVF+4Huu
QKW/DkTTvgXtWtoDNkY3mLBNhYndcTzXCkhNCQJoPkcn3PJeSP9GAoOzL4fz8RCf
tmfqMybCwtKwOgW4eOskr9gKHJYI7b2ljbXyJvp4t2h60N8I67iNjg3FZqg9tjkt
mu3IQpoKQsf8ao/peNEJLH3NN5bEEGiO61odQETa8c1dhtJHBqyDZ0WaPDw0oQLV
zFxMKskVEwV9SyzBW2lX
=+HP3
-----END PGP SIGNATURE-----

--tK6VDxAgrIfHPVBBJ3noPh3kvWODOEtIV--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?728a1caf-6dc0-806a-a3c7-c20a699102c2>