svn path=/main/trunk/; revision=4382
}
src_test() {
- addpredict /
if emake -j1 check -n &> /dev/null; then
vecho ">>> Test phase [check]: ${CATEGORY}/${PF}"
if ! emake -j1 check; then
else
vecho ">>> Test phase [none]: ${CATEGORY}/${PF}"
fi
- SANDBOX_PREDICT="${SANDBOX_PREDICT%:/}"
}
src_install() {
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}"