From 5a217ecdc46ad1d2318c2b4ddcad7fef4a028022 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Fri, 28 Dec 2007 16:42:14 +0000 Subject: Fixes for logic related to FEATURES=test to USE=test mapping: * Add EBUILD_FORCE_TEST to the environment whitelist and filter it from the saved environment in save_ebuild_env(). * Tweak logic inside the ebuild command and config.regenerate() so that EBUILD_FORCE_TEST works even in odd cases like when USE=test is masked. * Only make FEATURES=test map to USE=test when "test" is actually in IUSE. * Remove USE=test from the set of implicit IUSE so that useq() calls in ebuild.sh properly generate a QA Notice when "test" is missing from IUSE. (trunk r9063:9065) svn path=/main/branches/2.1.2/; revision=9076 --- bin/isolated-functions.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bin/isolated-functions.sh') diff --git a/bin/isolated-functions.sh b/bin/isolated-functions.sh index a7e8433ad..e06fbb826 100644 --- a/bin/isolated-functions.sh +++ b/bin/isolated-functions.sh @@ -434,7 +434,7 @@ save_ebuild_env() { # portage config variables and variables set directly by portage unset BAD BRACKET BUILD_PREFIX COLS \ DISTCC_DIR DISTDIR DOC_SYMLINKS_DIR \ - EBUILD_EXIT_STATUS_FILE EBUILD_MASTER_PID \ + EBUILD_EXIT_STATUS_FILE EBUILD_FORCE_TEST EBUILD_MASTER_PID \ ECLASSDIR ECLASS_DEPTH ENDCOL FAKEROOTKEY \ GOOD HILITE HOME IMAGE \ LAST_E_CMD LAST_E_LEN LD_PRELOAD MISC_FUNCTIONS_ARGS MOPREFIX \ -- cgit v1.2.3-1-g7c22