From 7fac4fd060dff7a5a6180f243176b2ddbb655133 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Thu, 13 Sep 2012 11:24:54 -0700 Subject: FEATURES=test: test flag respect IUSE_FFECTIVE --- bin/phase-functions.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bin') diff --git a/bin/phase-functions.sh b/bin/phase-functions.sh index ad9ba6bb0..0883ccd99 100644 --- a/bin/phase-functions.sh +++ b/bin/phase-functions.sh @@ -478,7 +478,7 @@ dyn_test() { return fi - if [ "${EBUILD_FORCE_TEST}" == "1" ] ; then + if [[ ${EBUILD_FORCE_TEST} == 1 && test =~ $PORTAGE_IUSE ]]; then # If USE came from ${T}/environment then it might not have USE=test # like it's supposed to here. ! has test ${USE} && export USE="${USE} test" -- cgit v1.2.3-1-g7c22