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.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 0C3F5158011 for ; Mon, 10 Jan 2022 14:52:48 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id E11BA2BC031; Mon, 10 Jan 2022 14:52:42 +0000 (UTC) Received: from tupone.it (tupone.it [IPv6:2a01:4f9:2b:129a::2]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id F07EC2BC018 for ; Mon, 10 Jan 2022 14:52:41 +0000 (UTC) Received: from alfredo-i5 (host-79-30-15-116.retail.telecomitalia.it [79.30.15.116]) by tupone.it (Postfix) with ESMTPSA id D0FCA1FC1489 for ; Mon, 10 Jan 2022 15:54:36 +0100 (CET) Date: Mon, 10 Jan 2022 15:52:37 +0100 From: Alfredo Tupone To: gentoo-dev@lists.gentoo.org Subject: [gentoo-dev] dune.eclass changes for test not raising warn to error Message-ID: <20220110155237.4e2cb7ed@alfredo-i5> X-Mailer: Claws Mail 3.18.0 (GTK+ 2.24.33; x86_64-pc-linux-gnu) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@lists.gentoo.org Reply-to: gentoo-dev@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable X-Archives-Salt: 078f633a-2f25-42c6-81a3-b98ff301224a X-Archives-Hash: 93be7875d9b11ffa27f7925fa7dbb342 I'm changing dune eclass src_test so that the profile is release Previously only src_compile used that profile profile release does not promote warning to error. Tupone =46rom 4d3ed43d94a8d6ba4fb6faa0423b090fadc129c0 Mon Sep 17 00:00:00 2001 From: Alfredo Tupone Date: Mon, 10 Jan 2022 14:38:01 +0100 Subject: [PATCH] eclass/dune.eclass: src_test do not change warn to err Closes: https://bugs.gentoo.org/822876 Signed-off-by: Alfredo Tupone --- eclass/dune.eclass | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/eclass/dune.eclass b/eclass/dune.eclass index 4653db3ae79..5b0418152da 100644 --- a/eclass/dune.eclass +++ b/eclass/dune.eclass --- a/eclass/dune.eclass +++ b/eclass/dune.eclass @@ -38,31 +38,31 @@ case ${EAPI:-0} in ;; *) BDEPEND=3D"dev-ml/dune dev-lang/ocaml" DEPEND=3D"${RDEPEND}" ;; esac dune_src_compile() { ebegin "Building" dune build @install --profile release eend $? || die } dune_src_test() { ebegin "Testing" - dune runtest + dune runtest --profile release eend $? || die } # @FUNCTION: dune-install # @USAGE: # @DESCRIPTION: # Installs the dune packages given as arguments. For each "${pkg}" element in # that list, "${pkg}.install" must be readable from "${PWD}/_build/default" # # Example use: # @CODE # dune-install menhir menhirLib menhirSdk # @CODE dune-install() { local -a pkgs=3D( "${@}" )