[prev in list] [next in list] [prev in thread] [next in thread] 

List:       gentoo-dev
Subject:    Re: [gentoo-dev] QA obscurity: "hasq test $FEATURES" != "use test"
From:       Zac Medico <zmedico () gentoo ! org>
Date:       2009-07-22 21:38:46
Message-ID: 4A6786E5.9010702 () gentoo ! org
[Download RAW message or body]

Robin H. Johnson wrote:
> For iasl, upstream requests that if the tests are run at build time,
> that they are installed to the system, which is what we do. If
> FEATURES=-test USE=test is used however, using 'use test' is bogus,
> because I cannot detect that the tests are going to/have run.

Currently, there's not much you can do about the "going to run" part
except check FEATURES. However, for the "have run" part, you can do
something like this inside src_test:

touch "$WORKDIR"/yes_the_tests_did_run

-- 
Thanks,
Zac

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic