Bug#904979: autopkgtest: add option to mark tests as trivial

2018-08-15 Thread Rebecca N. Palmer
On 15/08/18 18:45, Simon McVittie wrote: On Mon, 30 Jul 2018 at 07:57:35 +0100, Rebecca N. Palmer wrote: #equivalent to Restrictions: trivial Restrictions: skippable Test-Command: do_the_test && exit 77 and later -else: +elif 'trivial' not in t.restrictions:

Bug#904979: autopkgtest: add option to mark tests as trivial

2018-08-15 Thread Simon McVittie
On Mon, 30 Jul 2018 at 07:57:35 +0100, Rebecca N. Palmer wrote: > #equivalent to Restrictions: trivial > Restrictions: skippable > Test-Command: do_the_test && exit 77 and later > -else: > +elif 'trivial' not in t.restrictions: > any_passed = True This

Bug#904979: autopkgtest: add option to mark tests as trivial

2018-08-07 Thread Simon McVittie
On Mon, 30 Jul 2018 at 07:57:35 +0100, Rebecca N. Palmer wrote: > else: > errorcode |= 4 > -else: > +elif 'trivial' not in t.restrictions: > any_passed = True > > if 'breaks-testbed' in t.restrictions: That's

Bug#904979: autopkgtest: add option to mark tests as trivial

2018-07-31 Thread Rebecca N. Palmer
On 31/07/18 14:59, Paul Gevers wrote: Not sure if that would be the same value of trivial. I agree that "should trivial be a defined Restriction" and "should autodep8 and similar checks that we can import/link to/etc this (i.e. checking its top-level module for syntax errors/missing

Bug#904979: autopkgtest: add option to mark tests as trivial

2018-07-31 Thread Paul Gevers
Hi Rebecca, On 30-07-18 08:57, Rebecca N. Palmer wrote: > On 29/07/18 14:58, Paul Gevers wrote: >> [...]> On 27-07-18 22:49, Rebecca N. Palmer wrote: >>> [...] >>> Simon McVittie wrote: At some point I might add a way to mark some tests as trivial, with the intention that migration is

Bug#904979: autopkgtest: add option to mark tests as trivial

2018-07-30 Thread Rebecca N. Palmer
Package: autopkgtest Severity: wishlist Control: block -1 by 901804 (From #901804 discussion, moving to a new bug as requested.) On 29/07/18 14:58, Paul Gevers wrote: [...]> On 27-07-18 22:49, Rebecca N. Palmer wrote: [...] Simon McVittie wrote: At some point I might add a way to mark some