[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: [SCM] Debian package checker branch, master, updated. 2.2.9-52-g288a108



Raphael Geissert <atomo64+debian@gmail.com> writes:
> Russ Allbery wrote:

>> +# description.
>> +our @DESCS = (<$ENV{LINTIAN_ROOT}/checks/*.desc>);
>> +plan tests => scalar(@DESCS);

> Would be great if this and the other recent test didn't assume that
> LINTIAN_ROOT is always set, so that manually running prove -Ilib/ t/scripts
> works.

Is it enough that they can be run like any other single test?

    debian/rules runtests onlyrun=name

As a general rule, I wasn't adding any of the setup infrastructure to
individual tests and instead relying on runtests setting everything up.

If just running the t/scripts directory is a common desire, we could add
a flag to runtests to do that.

-- 
Russ Allbery (rra@debian.org)               <http://www.eyrie.org/~eagle/>


Reply to: