From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1SSsFy-0001XN-4h for garchives@archives.gentoo.org; Fri, 11 May 2012 15:59:50 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 4037AE0AB7; Fri, 11 May 2012 15:59:35 +0000 (UTC) Received: from a1iwww1.kph.uni-mainz.de (a1iwww1.kph.uni-mainz.de [134.93.134.1]) by pigeon.gentoo.org (Postfix) with ESMTP id D05ECE078A for ; Fri, 11 May 2012 15:59:33 +0000 (UTC) Received: from a1i15.kph.uni-mainz.de (a1i15.kph.uni-mainz.de [134.93.134.92]) by a1iwww1.kph.uni-mainz.de (8.14.4/8.13.4) with ESMTP id q4BFxXBr029063 for ; Fri, 11 May 2012 17:59:33 +0200 Received: from a1i15.kph.uni-mainz.de (localhost [127.0.0.1]) by a1i15.kph.uni-mainz.de (8.14.5/8.14.2) with ESMTP id q4BFxWhm014864; Fri, 11 May 2012 17:59:32 +0200 Received: (from ulm@localhost) by a1i15.kph.uni-mainz.de (8.14.5/8.14.5/Submit) id q4BFxWlh014861; Fri, 11 May 2012 17:59:32 +0200 Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Package Manager Specification discussions X-BeenThere: gentoo-pms@gentoo.org X-BeenThere: gentoo-pms@lists.gentoo.org Reply-To: gentoo-pms@lists.gentoo.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <20397.14175.606552.961501@a1i15.kph.uni-mainz.de> Date: Fri, 11 May 2012 17:59:27 +0200 To: gentoo-pms Subject: [gentoo-pms] [PATCH] src_test really calls emake -j1, not make. X-Mailer: VM 8.2.0b under 23.4.2 (x86_64-pc-linux-gnu) From: Ulrich Mueller X-Archives-Salt: d19bba3f-8a35-423c-91f5-26330094efb2 X-Archives-Hash: c133767aa22cca7284377786905783b6 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?= 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