* [gentoo-pms] [PATCH] src_test really calls emake -j1, not make.
@ 2012-05-11 15:59 Ulrich Mueller
0 siblings, 0 replies; only message in thread
From: Ulrich Mueller @ 2012-05-11 15:59 UTC (permalink / raw
To: gentoo-pms
Find below a patch intended for master. Basically, replaces "make" by
"emake -j1" in src_test(), which reflects how it is implemented in
Portage.
Ulrich
From 38ed6197b08bb6214ce170bf8cb03c9c3495c8ca Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Ulrich=20M=C3=BCller?= <ulm@gentoo.org>
Date: Fri, 11 May 2012 17:55:19 +0200
Subject: [PATCH] src_test really calls emake -j1, not make.
---
ebuild-functions.tex | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/ebuild-functions.tex b/ebuild-functions.tex
index 51d9263..fe32004 100644
--- a/ebuild-functions.tex
+++ b/ebuild-functions.tex
@@ -255,9 +255,9 @@ provided.
The initial working directory must be \t{S} if that exists, falling back to \t{WORKDIR} otherwise.
The default implementation used when the ebuild lacks the \t{src\_test} function must, if tests are
-enabled, run \t{make check} if and only if such a target is available, or if not run \t{make test},
-if and only such a target is available. In both cases, if make returns non-zero the build must be
-aborted.
+enabled, run \t{emake -j1 check} if and only if such a target is available, or if not run
+\t{emake -j1 test} if and only if such a target is available. In both cases, if \t{emake} returns
+non-zero the build must be aborted.
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.
--
1.7.8.6
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2012-05-11 15:59 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-05-11 15:59 [gentoo-pms] [PATCH] src_test really calls emake -j1, not make Ulrich Mueller
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox