From: Christian Faulhammer <opfer@gentoo.org>
To: gentoo-dev@lists.gentoo.org
Subject: [gentoo-dev] Re: Remaining PMS todo list etc
Date: Thu, 20 Mar 2008 08:52:40 +0100 [thread overview]
Message-ID: <20080320085240.47f275f9@gentoo.org> (raw)
In-Reply-To: <20080320074158.7b889c63@snowcone>
[-- Attachment #1: Type: text/plain, Size: 1162 bytes --]
Hi,
Ciaran McCreesh <ciaran.mccreesh@googlemail.com>:
> On Wed, 19 Mar 2008 18:32:41 -0600
> Ryan Hill <dirtyepic@gentoo.org> wrote:
> > > * 174335: Some ebuild use FEATURES. Can we get them to stop doing
> > > that, or do we have to force package managers to emulate it?
> >
> > We seriously need a PM-independent way of saying "run the
> > testsuite", "run the testsuite with user privledges", and "run the
> > testsuite with root privledges if you can, otherwise forget it".
> > Also required is the ability to make test failures non-fatal on a
> > per-package basis, though this probably has nothing to do with the
> > PMS.
>
> Sounds like you need to write your own src_test for these situations.
if has userpriv ${FEATURES} && ! has usersandbox ${FEATURES};then
make check-local || die "test suite failed"
else
ewarn "Activate FEATURES=userpriv and deactivate \
FEATURES=usersandbox to run testsuite."
fi
^ That's mlocate, mysql also tests for FEATURES.
V-Li
--
Christian Faulhammer, Gentoo Lisp project
<URL:http://www.gentoo.org/proj/en/lisp/>, #gentoo-lisp on FreeNode
<URL:http://www.faulhammer.org/>
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 189 bytes --]
next prev parent reply other threads:[~2008-03-20 7:50 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-03-19 18:27 [gentoo-dev] Remaining PMS todo list etc Ciaran McCreesh
2008-03-20 0:32 ` [gentoo-dev] " Ryan Hill
2008-03-20 3:45 ` Marius Mauch
2008-03-21 0:02 ` Ryan Hill
2008-03-21 7:54 ` Ciaran McCreesh
2008-03-21 18:17 ` Ryan Hill
2008-03-20 7:41 ` Ciaran McCreesh
2008-03-20 7:52 ` Christian Faulhammer [this message]
2008-03-20 7:55 ` Ciaran McCreesh
2008-03-21 11:47 ` Christian Faulhammer
2008-03-21 11:52 ` Ciaran McCreesh
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20080320085240.47f275f9@gentoo.org \
--to=opfer@gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox