Gentoo Archives: gentoo-dev

From: R Hill <dirtyepic@××××××××.org>
To: gentoo-dev@l.g.o
Subject: [gentoo-dev] Re: The usefulness of test in FEATURES
Date: Sun, 01 May 2005 07:27:56
Message-Id: d52019$uff$
In Reply to: Re: [gentoo-dev] Re: The usefulness of test in FEATURES by Georgi Georgiev
1 Georgi Georgiev wrote:
2 > maillog: 30/04/2005-13:43:42(-0600): R Hill types
3 >
4 >>Maybe a way of lessening the annoyance of test failures would be having
5 >>a way to resume the build at the install phase. I'm thinking of
6 >>something similar the touch ${BUILDDIR}/.compiled trick. as it is, if
7 >>you remove test from FEATURES, touch .tested, and then 'ebuild
8 >>foo.ebuild install' the tests still run. This is especially frustrating
9 >>when you've just spent 6 hours compiling a package to have it fail
10 >>because of sandboxing.
11 >
12 >
13 > You probably also need to edit ${T}/environment for the ebuild and
14 > remove test from FEATURES there as well. In fact, this is *the* location
15 > that you should probably touch.
17 Cool. So this is as simple as "sed -i -e 's@\(^FEATURES.*\)
18 test\(.*$\)@\1\2@g' /var/tmp/portage/pkgname/temp/environment" then.
20 Thanks. =]
22 --de.
25 --
26 gentoo-dev@g.o mailing list