Gentoo Archives: gentoo-dev

From: Florian Schmaus <flow@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] [PATCH] New pre-GLEP: TEST_SUITE_PRESENT variable
Date: Mon, 20 Feb 2023 08:37:27
Message-Id: 62060aa8-a618-28e9-ab4f-4e72bed381a8@gentoo.org
In Reply to: [gentoo-dev] [PATCH] New pre-GLEP: TEST_SUITE_PRESENT variable by "Michał Górny"
1 On 19/02/2023 18.32, Michał Górny wrote:
2 > +Abstract
3 > +========
4 > +
5 > +A new ``TEST_SUITE_PRESENT`` variable is introduced to indicate whether
6 > +the package features a test suite.
7 I wonder if we could not simply use IUSE="test" for this purpose? That
8 is, allow declaring the 'test' use flag, even though it is not used in a
9 USE conditional, to indicate that the package has a test suite.
10
11 With that said, I don't have any strong objections against this
12 proposal. But I'd like to mention that with RESTRICT="test", IUSE="test"
13 and then TEST_SUITE_PRESENT="true", we end up with an awful lot of test
14 related metadata and complexity, which potentially contributes to confusion.
15
16 - Flow

Replies