aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2021-05-12 17:53:15 +0200
committerMichał Górny <mgorny@gentoo.org>2021-05-19 10:06:38 +0200
commita88f4996a9c20a638c8bf9a42bcbbc28ce0cc8dc (patch)
treec8989582a209328647057684047615cfe85f2e67 /man/make.conf.5
parentemerge --fetchonly --quiet: use emerge-fetch.log when writable (bug 285614) (diff)
downloadportage-a88f4996a9c20a638c8bf9a42bcbbc28ce0cc8dc.tar.gz
portage-a88f4996a9c20a638c8bf9a42bcbbc28ce0cc8dc.tar.bz2
portage-a88f4996a9c20a638c8bf9a42bcbbc28ce0cc8dc.zip
Implement PROPERTIES=test_network and ALLOW_TEST
The 'test_network' property can be used to indicate that the test phase requires access to the Internet (but RESTRICT=test should still be used). If present, network-sandbox will be disabled throughout the test phase. This opens up the possibility of adding further 'test_*' properties. Additionally, ALLOW_TEST can be used to ignore RESTRICT=test in a subset of packages. When the value includes 'network' token, tests using 'test_network' property are reenabled. When the value includes 'all' token, all instances of RESTRICT=test are ignored. Bug: https://bugs.gentoo.org/553696 Reviewed-by: Zac Medico <zmedico@gentoo.org> Acked-by: Ulrich Müller <ulm@gentoo.org> Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'man/make.conf.5')
-rw-r--r--man/make.conf.521
1 files changed, 20 insertions, 1 deletions
diff --git a/man/make.conf.5 b/man/make.conf.5
index 8d551c95e..badaea18e 100644
--- a/man/make.conf.5
+++ b/man/make.conf.5
@@ -1,4 +1,4 @@
-.TH "MAKE.CONF" "5" "Feb 2021" "Portage VERSION" "Portage"
+.TH "MAKE.CONF" "5" "May 2021" "Portage VERSION" "Portage"
.SH "NAME"
make.conf \- custom settings for Portage
.SH "SYNOPSIS"
@@ -1139,6 +1139,25 @@ settings from ebuilds. See also \fBebuild\fR(5).
Set this to cause portage to ignore any \fIQA_WX_LOAD\fR override
settings from ebuilds. See also \fBebuild\fR(5).
.TP
+\fBALLOW_TEST\fR = \fI[token]...\fR
+This variable can be used to select the kinds of additional tests to run,
+particularly overriding \fBRESTRICT\fR="\fBtest\fR". It contains
+a whitespace-separated list of tokens. The following tokens are currently
+recognized:
+.RS
+.TP
+.B all
+Run tests in all packages, even if they specify \fBRESTRICT\fR="\fBtest\fR".
+This option is certain to cause test failures, it is intended to be used
+by developers when testing specific packages.
+.TP
+.B network
+Run tests in packages specifying \fBPROPERTIES\fR="\fBtest_network\fR". Note
+that this will most likely cause Internet access during the test suite which
+could cause additional costs, privacy concerns and intermittent test failures.
+.TP
+.RE
+.TP
.B RESUMECOMMAND
This variable contains the command used for resuming package sources that
have been partially downloaded. It should be defined using the same format