Bug#788659: autopkgtest: Provide option to not implicitly run undeclared tests

Martin Pitt mpitt at debian.org
Mon Jun 15 17:16:03 UTC 2015


Hello Dominic,

Dominic Hargreaves [2015-06-15 14:32 +0100]:
> I thought about 'no autodep8', but the semantics aren't quite correct,
> since a package could declare Testsuite: autopkgtest, but rely on the
> autodep8 behaviour.

Right, that happens all the time with perl/ruby, as Nico and Antonio
pointed out. They (should) have a different Testsuite: header in that
case.

> So by 'declare tests', I was really talking about having Testsuite:
> autopkgest in the control file. Sorry if that wasn't clear.

To be honest I'm confused now. So "Testsuite: autopkgtest" -> there
should be "local" tests in debian/tests/control.
"Testsuite: autopkgtest-pkg-perl" -> autodep8 centralized tests. With
the new --no-auto-control you can disable the latter.

But as said, this field doesn't concern adt-run itself at all -- you
give it a package and it'll run it. It's just a hint to the
higher-layer CI system which decides which tests to run at a time.

So what's missing/wrong now?

Thanks,

Martin

-- 
Martin Pitt                        | http://www.piware.de
Ubuntu Developer (www.ubuntu.com)  | Debian Developer  (www.debian.org)



More information about the autopkgtest-devel mailing list