Re: [aur-general] Customize testing in PKGBUILD

2021-12-14 Thread Jan Kohnert via aur-general
Hi again, Am Dienstag, 14. Dezember 2021, 00:07:46 CET schrieb Jan Kohnert via aur- general: > So I thought about somehow let the user decide whether to run those > expensive extra tests at build. Unfortunately I could not find a > recommended way of doing so. > > Would it be an option to check a

Re: [aur-general] Customize testing in PKGBUILD

2021-12-14 Thread Caleb Maclennan via aur-general
Just put the tests in. Download the sources in the source array, do whatever you need to do in prepare() to get them where they belong relative to the other sources, and have a check() function by default. If there are tests, having a check() function that runs them is almost always the right d

Re: [aur-general] Customize testing in PKGBUILD

2021-12-14 Thread Brett Cornwall via aur-general
On 2021-12-14 06:45, George Rawlinson via aur-general wrote: On 21-12-14 00:07, Jan Kohnert via aur-general wrote: Hi, I'm maintaining the eccodes aur package and would like to enable some extra tests in PKGBUILD. This can be done by downloading extra testdata and put that into the main build d