canonical-ci-engineering team mailing list archive
-
canonical-ci-engineering team
-
Mailing list archive
-
Message #00981
Re: Restricting dep8 tests to run on the phone
On Tue, Dec 9, 2014 at 5:44 AM, Martin Pitt <martin.pitt@xxxxxxxxxx> wrote:
>
> > My understanding is that all dep8 tests are run for packages uploaded to
> > debian & ubuntu. I think it's reasonable to provide test authors with a
> way
> > to not introduce broken tests..
>
> A test can always skip itself if it detects that it runs in an
> inadequate environment.
Martin,
Is there a specific pattern for this? I think this is the core issue at
hand. AIUI, these new tests are being written with the assumption that they
will be executed directly on a phone via adt-run and they will fail if
executed under britney and therefore fail promotion.
Francis
> Other than that, using Classes: is how we
> intend to generically solve "where to run which tests at" for our CI
> infrastructure. Then, if someone manually tries to run a test
> someplace else, (s)he can see how far it gets, and if the test isn't
> appropriate for the target at all (like trying an autopilot test in a
> plain schroot), it'll just fail and be a "don't do that then"
> situation.
>
> Thanks,
>
> Martin
>
> --
> Martin Pitt | http://www.piware.de
> Ubuntu Developer (www.ubuntu.com) | Debian Developer (www.debian.org)
>
> --
> Mailing list: https://launchpad.net/~canonical-ci-engineering
> Post to : canonical-ci-engineering@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~canonical-ci-engineering
> More help : https://help.launchpad.net/ListHelp
>
--
Francis Ginther
Canonical - Ubuntu Engineering - Continuous Integration Team
Follow ups
References