summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2011-05-14 21:47:58 +0200
committerUlrich Mueller <ulm@gentoo.org>2011-05-22 02:39:51 +0200
commit08e1db61cd75bad2bbcc4bad828c778af15bd78d (patch)
tree1fdde870824fa75544f05732cee86aefdda7f4ca /ebuild-functions.tex
parentClarify wording on self-blockers. (diff)
downloadpms-08e1db61cd75bad2bbcc4bad828c778af15bd78d.tar.gz
pms-08e1db61cd75bad2bbcc4bad828c778af15bd78d.tar.bz2
pms-08e1db61cd75bad2bbcc4bad828c778af15bd78d.zip
Denote that src_test() can be disabled by user as well.
Right now, the section on phase functions could suggest that src_test() will be run always unless RESTRICT=test is specified. Try to clear that up.
Diffstat (limited to 'ebuild-functions.tex')
-rw-r--r--ebuild-functions.tex5
1 files changed, 3 insertions, 2 deletions
diff --git a/ebuild-functions.tex b/ebuild-functions.tex
index a035fd4..51d9263 100644
--- a/ebuild-functions.tex
+++ b/ebuild-functions.tex
@@ -259,7 +259,8 @@ enabled, run \t{make check} if and only if such a target is available, or if not
if and only such a target is available. In both cases, if make returns non-zero the build must be
aborted.
-The \t{src\_test} function may be disabled by \t{RESTRICT}. See section~\ref{sec:restrict}.
+The \t{src\_test} function may be disabled by \t{RESTRICT}. See section~\ref{sec:restrict}. It may
+be disabled by user too, using a PM-specific mechanism.
\subsection{src\_install}
\label{sec:src-install-function}
@@ -434,7 +435,7 @@ The call order for installing a package is:
\item \t{src\_prepare} (only for EAPIs listed in table~\ref{tab:src-prepare-table})
\item \t{src\_configure} (only for EAPIs listed in table~\ref{tab:src-configure-table})
\item \t{src\_compile}
-\item \t{src\_test} (except if \t{RESTRICT=test})
+\item \t{src\_test} (except if \t{RESTRICT=test} or disabled by user)
\item \t{src\_install}
\item \t{pkg\_preinst}
\item \t{pkg\_postinst}