Hi Xavier,

On Sun, Mar 3, 2019 at 2:27 PM Xavier Guimard <[email protected]> wrote:

>
> To launch part of the tests, Lintian::Tutorial::Testsuite proposes to
> use either:
>
>   $ debian/rules runtests onlyrun=tag:$tag
>   $ t/bin/runtests --dump-logs -k t debian/test-out tag:$tag
>
> None of these examples work (all test launched or error). Looking at
> source code, I ran with success:
>
>   $ t/bin/runtests --unattended --work-dir=debian/test-out --onlyrun
> tag:$tag t
>
> Same for other examples ($check,...)
>

Thanks for reporting this. I saw your note on #debian-qa, but you were gone
when I got there. I will work on the documentation very soon.

In most cases, you should be able to drop the work-dir and and the test
base 't', like so

t/bin/runtests --onlyrun=tag:$tag

-k will run all selected tests even if the code quality scripts or the
internal harness tests have failed.

--unattended will never prompt for user input, for example to offer to
re-calibrate tests when new tags appeared or some disappeared.

Reply via email to