Re: How to ask pkg-r-autopkgtests to "not" run tests?
- To: debian-r@lists.debian.org
- Subject: Re: How to ask pkg-r-autopkgtests to "not" run tests?
- From: Andreas Tille <andreas@an3as.eu>
- Date: Sat, 13 Nov 2021 18:31:25 +0100
- Message-id: <YY/2bbOmI2VJBztb@an3as.eu>
- In-reply-to: <YY/P0bjzJNSn3GhZ@debian>
- References: <YY/P0bjzJNSn3GhZ@debian>
Hi Nilesh
Am Sat, Nov 13, 2021 at 08:16:41PM +0530 schrieb Nilesh Patra:
> Hi,
> to run tests which is not packaged, and probably never will be.
> I did the following:
>
> * Removed d/tests
> * Remove "Testsuite: autopkgtest-pkg-r" line from d/control
> * Removed unitTests directory from being installed.
>
> However, _even after this_ pkg-r-autopkgtest launches and attempts running tests.
> How do I stop this from happening?
Hmmmm, removing Testsuite: autopkgtest-pkg-r should prevent the test
from running. No idea why this does not work.
Here are some examples for alternative solutions to work around not
(yet) packaged data / code:
https://salsa.debian.org/r-pkg-team/r-bioc-affy/-/blob/master/debian/tests/autopkgtest-pkg-r.hook
https://salsa.debian.org/r-pkg-team/r-bioc-bluster/-/blob/master/debian/tests/autopkgtest-pkg-r.hook
https://salsa.debian.org/r-pkg-team/r-bioc-purecn/-/blob/master/debian/tests/autopkgtest-pkg-r.hook
In file autopkgtest-pkg-r.hook you can place code that is executed as in
the usual run-unit-test script but without the beginning that copies the
data to the temporary dir.
Hope this helps
Andreas.
--
http://fam-tille.de
Reply to: