From 08e1db61cd75bad2bbcc4bad828c778af15bd78d Mon Sep 17 00:00:00 2001
From: Michał Górny <mgorny@gentoo.org>
Date: Sat, 14 May 2011 21:47:58 +0200
Subject: 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.
---
 ebuild-functions.tex | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

(limited to 'ebuild-functions.tex')

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}
-- 
cgit v1.2.3-65-gdbad

