Re: How to handle a package requiring external test data for its test suite?
On Tue, Jun 18, 2013 at 9:36 PM, Jakub Wilk <jwilk@debian.org> wrote:
> * Charles Plessy <plessy@debian.org>, 2013-06-18, 08:33:
>
>> Have you considered running the tests with autopkgtest ?
>>
>> http://dep.debian.net/deps/dep8/
>>
>> Then, you can either download the data or install it from a separate data
>> package.
>
>
> No, you can't assume that Internet connectivity will be available to your
> tests. There's no such guarantee.
>
> (Leaving aside privacy concerns for now...)
Ok, so considering the previous answers:
- I packaged the reference data into a new page (visp-image-data)
- I added the dependency and now the test suite is running fine
- I added a autopkgtest to check that a simple program can be compiled
after installing the packages.
However I am not aware of a way to run a CMake test suite against installed
software so I let it go for now.
Thanks again for you help.
--
Thomas Moulard
Reply to: