From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 2A910139694 for ; Sun, 9 Jul 2017 08:20:16 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 9D05121406A; Sun, 9 Jul 2017 08:20:15 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 7F15521406A for ; Sun, 9 Jul 2017 08:20:15 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id B78EC341908 for ; Sun, 9 Jul 2017 08:20:14 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 4418A746A for ; Sun, 9 Jul 2017 08:20:13 +0000 (UTC) From: "Alexis Ballier" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Alexis Ballier" Message-ID: <1499588400.2cb38bc42a2d5cea1a1fa428916aa0c0641d145f.aballier@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-ml/zarith/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-ml/zarith/zarith-1.5.ebuild X-VCS-Directories: dev-ml/zarith/ X-VCS-Committer: aballier X-VCS-Committer-Name: Alexis Ballier X-VCS-Revision: 2cb38bc42a2d5cea1a1fa428916aa0c0641d145f X-VCS-Branch: master Date: Sun, 9 Jul 2017 08:20:13 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: dca041df-e6e9-4c27-979b-3185d62098cf X-Archives-Hash: 280efcaa0f8219c5f96b254e2fda00b3 commit: 2cb38bc42a2d5cea1a1fa428916aa0c0641d145f Author: Alexis Ballier gentoo org> AuthorDate: Sun Jul 9 08:20:00 2017 +0000 Commit: Alexis Ballier gentoo org> CommitDate: Sun Jul 9 08:20:00 2017 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2cb38bc4 dev-ml/zarith: Skip tests when not building native code, they require it. Bug #624292 Package-Manager: Portage-2.3.6, Repoman-2.3.2 dev-ml/zarith/zarith-1.5.ebuild | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/dev-ml/zarith/zarith-1.5.ebuild b/dev-ml/zarith/zarith-1.5.ebuild index fcb766936ac..25bf4fad370 100644 --- a/dev-ml/zarith/zarith-1.5.ebuild +++ b/dev-ml/zarith/zarith-1.5.ebuild @@ -37,7 +37,11 @@ src_compile() { } src_test() { - emake HASOCAMLOPT=$(usex ocamlopt yes no) HASDYNLINK=$(usex ocamlopt yes no) tests + if use ocamlopt ; then + emake HASOCAMLOPT=$(usex ocamlopt yes no) HASDYNLINK=$(usex ocamlopt yes no) tests + else + ewarn "Tests require USE=ocamlopt. Skipping them." + fi } src_install() {