summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon Stelling <blubb@gentoo.org>2006-09-03 12:42:44 +0000
committerSimon Stelling <blubb@gentoo.org>2006-09-03 12:42:44 +0000
commit83312916228666592d472f169411a9a786d2d289 (patch)
treec5f3bdcaaa1971eac9d083a40575f0b3ab843061 /bin/ebuild.sh
parentDescribe each of the USE flag symbols that are displayed in verbose mode (see... (diff)
downloadportage-multirepo-83312916228666592d472f169411a9a786d2d289.tar.gz
portage-multirepo-83312916228666592d472f169411a9a786d2d289.tar.bz2
portage-multirepo-83312916228666592d472f169411a9a786d2d289.zip
moving the portage-specific sandbox-code out of the ebuild-specific src_test
svn path=/main/trunk/; revision=4382
Diffstat (limited to 'bin/ebuild.sh')
-rwxr-xr-xbin/ebuild.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/ebuild.sh b/bin/ebuild.sh
index fdd7da0e..6dda415b 100755
--- a/bin/ebuild.sh
+++ b/bin/ebuild.sh
@@ -609,7 +609,6 @@ src_compile() {
}
src_test() {
- addpredict /
if emake -j1 check -n &> /dev/null; then
vecho ">>> Test phase [check]: ${CATEGORY}/${PF}"
if ! emake -j1 check; then
@@ -625,7 +624,6 @@ src_test() {
else
vecho ">>> Test phase [none]: ${CATEGORY}/${PF}"
fi
- SANDBOX_PREDICT="${SANDBOX_PREDICT%:/}"
}
src_install() {
@@ -983,7 +981,9 @@ dyn_test() {
ewarn "Skipping make test/check due to ebuild restriction."
vecho ">>> Test phase [explicitly disabled]: ${CATEGORY}/${PF}"
else
+ addpredict /
src_test
+ SANDBOX_PREDICT="${SANDBOX_PREDICT%:/}"
fi
cd "${PORTAGE_BUILDDIR}"