Gentoo Archives: gentoo-pms

From: "Michał Górny" <mgorny@g.o>
To: gentoo-pms@l.g.o
Cc: "Michał Górny" <mgorny@g.o>
Subject: [gentoo-pms] [PATCH] Denote that src_test() can be disabled by user as well.
Date: Sat, 14 May 2011 19:48:32
Message-Id: 1305402478-1861-1-git-send-email-mgorny@gentoo.org
In Reply to: Re: [gentoo-pms] [PATCH] Denote that src_test() can be disabled by user as well. by Ulrich Mueller
1 Right now, the section on phase functions could suggest that src_test()
2 will be run always unless RESTRICT=test is specified. Try to clear that
3 up.
4 ---
5 ebuild-functions.tex | 5 +++--
6 1 files changed, 3 insertions(+), 2 deletions(-)
7
8 diff --git a/ebuild-functions.tex b/ebuild-functions.tex
9 index a035fd4..51d9263 100644
10 --- a/ebuild-functions.tex
11 +++ b/ebuild-functions.tex
12 @@ -259,7 +259,8 @@ enabled, run \t{make check} if and only if such a target is available, or if not
13 if and only such a target is available. In both cases, if make returns non-zero the build must be
14 aborted.
15
16 -The \t{src\_test} function may be disabled by \t{RESTRICT}. See section~\ref{sec:restrict}.
17 +The \t{src\_test} function may be disabled by \t{RESTRICT}. See section~\ref{sec:restrict}. It may
18 +be disabled by user too, using a PM-specific mechanism.
19
20 \subsection{src\_install}
21 \label{sec:src-install-function}
22 @@ -434,7 +435,7 @@ The call order for installing a package is:
23 \item \t{src\_prepare} (only for EAPIs listed in table~\ref{tab:src-prepare-table})
24 \item \t{src\_configure} (only for EAPIs listed in table~\ref{tab:src-configure-table})
25 \item \t{src\_compile}
26 -\item \t{src\_test} (except if \t{RESTRICT=test})
27 +\item \t{src\_test} (except if \t{RESTRICT=test} or disabled by user)
28 \item \t{src\_install}
29 \item \t{pkg\_preinst}
30 \item \t{pkg\_postinst}
31 --
32 1.7.5.rc3

Replies