Date: Tue, 07 Apr 2020 12:20:25 -0400 From: Adam Jimerson <vendion@gmail.com> To: Adam Weinberger <adamw@adamw.org> Cc: freebsd-ports@freebsd.org Subject: Re: Running tests in ports Makefiles? Message-ID: <4798344.YNO7O01DYZ@heimdall> In-Reply-To: <CAP7rwchd=9oZ5o%2BHf=ByjgEDQL5A_y%2BRNB2izP0P0zTGLLgcHw@mail.gmail.com> References: <2970225.0P3pStmDMi@heimdall> <CAP7rwchd=9oZ5o%2BHf=ByjgEDQL5A_y%2BRNB2izP0P0zTGLLgcHw@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
--nextPart3025142.bT80LyP3VS Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" On Tuesday, April 7, 2020 11:35:38 AM EDT Adam Weinberger wrote: > Optional tests should never be run during a normal build. There is a > "do-test:" target for that purpose. Can you fold the test suite into > that target? Yeah it would be completely possible to use that target for the tests, and thanks for pointing that out as I don't see it listed under Section 5.13.3.12 of the Porter's Handbook [0]. I just didn't know if this was common place to do so with FreeBSD ports. The only thing I have to compare it with is Arch Linux's build system where if a packages PKGBUILD file defines a `check` function [1] then it is called during the build process automatically. I know comparing apples to oranges, hence why I wanted to know what is commonplace/acceptable here. [0]: https://www.freebsd.org/doc/en_US.ISO8859-1/books/porters-handbook/ makefile-options.html [1]: https://wiki.archlinux.org/index.php/Creating_packages#check() --nextPart3025142.bT80LyP3VS Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part. Content-Transfer-Encoding: 7Bit -----BEGIN PGP SIGNATURE----- iQEzBAABCAAdFiEELLlB4D3dJQL6YIqWtmZSyNpTGkkFAl6MqDYACgkQtmZSyNpT GkkE8Qf+JOg7eD2+Y/O090U0C2C3c9VOWtesUh7Il6GI3+VN5bKJIRvvjN3+bENO qm1gHFnQGKPO5oZxUgKsOW6OJk9NGDMp/oFiqcnJVAstO/5nBX6iAQt0AEy2i8y9 C6SUsKIn+heNMKh+nUh6u7mUPoARH71rJ0tT8VxbsBwygb6h7S7Sn7H6ojKt+BXA vdahF5He0+B5svcKch0RGvJxFi6tH3z6t7RdP16ty8yUXyh83bplajN2Chrcw6oh b37IuZ1bYLzuDABZgveAMWhslsyMvBs2fIrPrFHfwonf5xJNygb3F1JoTW98lpK2 QpMm9BgweliWz4vsRIKSupJmOfnWQQ== =+mtM -----END PGP SIGNATURE----- --nextPart3025142.bT80LyP3VS--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4798344.YNO7O01DYZ>