# Copyright 1999-2012 Gentoo Foundation | |
# Distributed under the terms of the GNU General Public License v2 | |
# $Id$ | |
eblit-perl-src_test() { | |
if [[ ${EUID} == 0 ]] ; then | |
ewarn "Test fails with a sandbox error (#328793) if run as root. Skipping tests..." | |
return 0 | |
fi | |
use elibc_uclibc && export MAKEOPTS+=" -j1" | |
TEST_JOBS="$(makeopts_jobs)" make test_harness || die "test failed" | |
} |