Gentoo Logo
Gentoo Spaceship




Note: Due to technical difficulties, the Archives are currently not up to date. GMANE provides an alternative service for most mailing lists.
c.f. bug 424647
List Archive: gentoo-pms
Navigation:
Lists: gentoo-pms: < Prev By Thread Next > < Prev By Date Next >
Headers:
To: gentoo-pms <gentoo-pms@g.o>
From: Ulrich Mueller <ulm@g.o>
Subject: [PATCH] src_test really calls emake -j1, not make.
Date: Fri, 11 May 2012 17:59:27 +0200
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@g.o>
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



Navigation:
Lists: gentoo-pms: < Prev By Thread Next > < Prev By Date Next >
Previous by thread:
EAPI 5 development branch
Next by thread:
S to WORKDIR fallback in src_test()
Previous by date:
Re: EAPI 5 development branch
Next by date:
S to WORKDIR fallback in src_test()


Updated Jul 18, 2012

Summary: Archive of the gentoo-pms mailing list.

Donate to support our development efforts.

Copyright 2001-2013 Gentoo Foundation, Inc. Questions, Comments? Contact us.