Gentoo Archives: gentoo-dev

From: Zac Medico <zmedico@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] QA obscurity: "hasq test $FEATURES" != "use test"
Date: Wed, 22 Jul 2009 21:39:00
Message-Id: 4A6786E5.9010702@gentoo.org
In Reply to: [gentoo-dev] QA obscurity: "hasq test $FEATURES" != "use test" by "Robin H. Johnson"
1 Robin H. Johnson wrote:
2 > For iasl, upstream requests that if the tests are run at build time,
3 > that they are installed to the system, which is what we do. If
4 > FEATURES=-test USE=test is used however, using 'use test' is bogus,
5 > because I cannot detect that the tests are going to/have run.
6
7 Currently, there's not much you can do about the "going to run" part
8 except check FEATURES. However, for the "have run" part, you can do
9 something like this inside src_test:
10
11 touch "$WORKDIR"/yes_the_tests_did_run
12
13 --
14 Thanks,
15 Zac