From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id A66661388C1 for ; Thu, 3 Mar 2016 10:58:57 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 3A16DE07AE; Thu, 3 Mar 2016 10:58:56 +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 CBFBEE07AE for ; Thu, 3 Mar 2016 10:58:55 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 3C1F6340BC7 for ; Thu, 3 Mar 2016 10:58:54 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id EB7FB180 for ; Thu, 3 Mar 2016 10:58:51 +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: <1457002690.1c1491debaf5316851abf30a34e4084342c38e8c.aballier@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-lang/ocaml/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-lang/ocaml/ocaml-4.03.0_beta1.ebuild X-VCS-Directories: dev-lang/ocaml/ X-VCS-Committer: aballier X-VCS-Committer-Name: Alexis Ballier X-VCS-Revision: 1c1491debaf5316851abf30a34e4084342c38e8c X-VCS-Branch: master Date: Thu, 3 Mar 2016 10:58:51 +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: 9e15e1d1-ad4d-4e12-baf5-ae5bff136ff4 X-Archives-Hash: 039fdc024cd89f01e62312839dee9577 commit: 1c1491debaf5316851abf30a34e4084342c38e8c Author: Alexis Ballier gentoo org> AuthorDate: Thu Mar 3 10:58:01 2016 +0000 Commit: Alexis Ballier gentoo org> CommitDate: Thu Mar 3 10:58:10 2016 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1c1491de dev-lang/ocaml: add tests support Package-Manager: portage-2.2.27 Signed-off-by: Alexis Ballier gentoo.org> dev-lang/ocaml/ocaml-4.03.0_beta1.ebuild | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/dev-lang/ocaml/ocaml-4.03.0_beta1.ebuild b/dev-lang/ocaml/ocaml-4.03.0_beta1.ebuild index 8034265..0aea93c 100644 --- a/dev-lang/ocaml/ocaml-4.03.0_beta1.ebuild +++ b/dev-lang/ocaml/ocaml-4.03.0_beta1.ebuild @@ -91,6 +91,14 @@ src_compile() { fi } +src_test() { + if use ocamlopt ; then + emake -j1 tests + else + ewarn "${PN} testsuite requires ocamlopt useflag" + fi +} + src_install() { emake BINDIR="${ED}"/usr/bin \ LIBDIR="${ED}"/usr/$(get_libdir)/ocaml \