On Thu, 27 Apr 2017 17:57:30 -0400 Mike Gilbert <flop...@gentoo.org> wrote:
> On Thu, Apr 27, 2017 at 5:42 PM, Alexis Ballier <aball...@gentoo.org> > wrote: > > On Thu, 27 Apr 2017 16:14:13 +0200 > > Michał Górny <mgo...@gentoo.org> wrote: > > > >> b. those tests can easily be enabled, and that fact is recorded > >> in the installed package metadata, > >> > >> c. the flag can easily be used in RESTRICT="" constraint to easily > >> disable all the tests. > > > > > > I see that as a rather important disadvantage. Why would we want to > > record that in VDB ? > > > > > >> What do you think? Any other ideas? > > > > why not simply a new RESTRICT value ? > > > > How would a new RESTRICT value help? There's no way for a > user/developer to disable a RESTRICT setting unless it is declared > behind a USE flag. > What I was thinking is RESTRICT="internet-tests" letting PM skip src_test if users disabled it, just like RESTRICT=test. But this fails when one only wants to skip part of the tests.