From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 4E615139694 for ; Fri, 28 Apr 2017 09:22:31 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 66EF0E0E20; Fri, 28 Apr 2017 09:22:23 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 15E26E0E04 for ; Fri, 28 Apr 2017 09:22:22 +0000 (UTC) Received: from localhost (unknown [IPv6:2a01:e34:eeaa:6bd0:4ecc:6aff:fe03:1cfc]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: aballier) by smtp.gentoo.org (Postfix) with ESMTPSA id 7DAC4341712 for ; Fri, 28 Apr 2017 09:22:21 +0000 (UTC) Date: Fri, 28 Apr 2017 11:22:16 +0200 From: Alexis Ballier To: gentoo-dev@lists.gentoo.org Subject: Re: [gentoo-dev] [RFC] Providing consistent means to enable tests requiring Internet access Message-ID: <20170428112216.52a36067@gentoo.org> In-Reply-To: References: <1493302453.1189.1.camel@gentoo.org> <20170427234234.6775afa2@gentoo.org> Organization: Gentoo X-Mailer: Claws Mail 3.15.0-dirty (GTK+ 2.24.31; x86_64-pc-linux-gnu) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@lists.gentoo.org Reply-to: gentoo-dev@lists.gentoo.org MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Archives-Salt: 89ef9dc8-9282-4422-ba97-e36322fb08d4 X-Archives-Hash: 6149adabe25c66c492397c27a389266f On Thu, 27 Apr 2017 17:57:30 -0400 Mike Gilbert wrote: > On Thu, Apr 27, 2017 at 5:42 PM, Alexis Ballier > wrote: > > On Thu, 27 Apr 2017 16:14:13 +0200 > > Micha=C5=82 G=C3=B3rny wrote: > > =20 > >> 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=3D"" constraint to easily > >> disable all the tests. =20 > > > > > > I see that as a rather important disadvantage. Why would we want to > > record that in VDB ? > > > > =20 > >> What do you think? Any other ideas? =20 > > > > why not simply a new RESTRICT value ? > > =20 >=20 > 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. >=20 What I was thinking is RESTRICT=3D"internet-tests" letting PM skip src_test if users disabled it, just like RESTRICT=3Dtest. But this fails when one only wants to skip part of the tests.