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 7526A158013 for ; Thu, 14 Dec 2023 04:22:23 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 40F802BC03E; Thu, 14 Dec 2023 04:22:22 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (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 21B6B2BC03E for ; Thu, 14 Dec 2023 04:22:22 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (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 smtp.gentoo.org (Postfix) with ESMTPS id 1633333F9FD for ; Thu, 14 Dec 2023 04:22:21 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 7CCEB1441 for ; Thu, 14 Dec 2023 04:22:19 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1702527653.dde8159d0f8360e336c9263eaaff55e304a5ec02.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-vcs/fossil/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-vcs/fossil/fossil-2.22.ebuild X-VCS-Directories: dev-vcs/fossil/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: dde8159d0f8360e336c9263eaaff55e304a5ec02 X-VCS-Branch: master Date: Thu, 14 Dec 2023 04:22:19 +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-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 9a5835b7-bc66-4c2c-b8f6-f79cce52c4d5 X-Archives-Hash: 19e59806b0a2b7697d06d65fb6337bbb commit: dde8159d0f8360e336c9263eaaff55e304a5ec02 Author: Matoro Mahri matoro tk> AuthorDate: Wed Dec 6 20:15:02 2023 +0000 Commit: Sam James gentoo org> CommitDate: Thu Dec 14 04:20:53 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dde8159d dev-vcs/fossil: unrestrict tests It's no longer the case that the tests cannot be run from the build directory. While they do technically fail, the failure is currently nonfatal. But there are plans to fix the remaining tests and also make the test script fatal on failure in 2.24: https://fossil-scm.org/forum/forumpost/353f3117d86a0c52bed174979f41d35fa7d476fda1e3ffc757030366cd9860dd Bug: https://bugs.gentoo.org/914535 Signed-off-by: Matoro Mahri matoro.tk> Closes: https://github.com/gentoo/gentoo/pull/34150 Signed-off-by: Sam James gentoo.org> dev-vcs/fossil/fossil-2.22.ebuild | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/dev-vcs/fossil/fossil-2.22.ebuild b/dev-vcs/fossil/fossil-2.22.ebuild index 7ffe54ef6335..8905c6cf1d54 100644 --- a/dev-vcs/fossil/fossil-2.22.ebuild +++ b/dev-vcs/fossil/fossil-2.22.ebuild @@ -15,7 +15,8 @@ LICENSE="BSD-2" SLOT="0" KEYWORDS="amd64 arm ~ppc ppc64 ~riscv x86" IUSE="debug fusefs json system-sqlite +ssl static tcl tcl-stubs - tcl-private-stubs th1-docs th1-hooks" + tcl-private-stubs test th1-docs th1-hooks" +RESTRICT="!test? ( test )" # Please check sqlite minimum version on every release. This can be done with: # ./configure --print-minimum-sqlite-version @@ -40,8 +41,7 @@ DEPEND="${RDEPEND} ) " -# Tests can't be run from the build directory -RESTRICT="test" +BDEPEND="test? ( dev-lang/tcl )" PATCHES=( # fossil-2.10-check-lib64-for-tcl.patch: Bug 690828 @@ -72,6 +72,10 @@ src_configure() { CC_FOR_BUILD=${CC} ./configure ${myconf} || die } +src_test() { + emake test +} + src_install() { dobin fossil }