From 8a4d81e8798f90a7a8d705cea08e053c56a4575b Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Sun, 14 Jan 2007 21:56:00 +0000 Subject: Disable the test phase when USE=test is masked (for consistency with the fix for bug #69021). svn path=/main/trunk/; revision=5646 --- bin/ebuild.sh | 3 +++ 1 file changed, 3 insertions(+) (limited to 'bin') diff --git a/bin/ebuild.sh b/bin/ebuild.sh index 57eca618a..0b6ac9652 100755 --- a/bin/ebuild.sh +++ b/bin/ebuild.sh @@ -1019,6 +1019,9 @@ dyn_test() { fi if ! hasq test $FEATURES && [ "${EBUILD_FORCE_TEST}" != "1" ]; then vecho ">>> Test phase [not enabled]: ${CATEGORY}/${PF}" + elif ! hasq test ${USE} && [ "${EBUILD_FORCE_TEST}" != "1" ]; then + ewarn "Skipping make test/check since USE=test is masked." + vecho ">>> Test phase [explicitly disabled]: ${CATEGORY}/${PF}" elif hasq test $RESTRICT; then ewarn "Skipping make test/check due to ebuild restriction." vecho ">>> Test phase [explicitly disabled]: ${CATEGORY}/${PF}" -- cgit v1.2.3-1-g7c22