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 3B4DE15800A for ; Tue, 15 Aug 2023 13:02:34 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 849122BC036; Tue, 15 Aug 2023 13:02:33 +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 6AAC82BC036 for ; Tue, 15 Aug 2023 13:02:33 +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 56236340E56 for ; Tue, 15 Aug 2023 13:02:32 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id B303BB8B for ; Tue, 15 Aug 2023 13:02:30 +0000 (UTC) From: "Remigiusz Micielski" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Remigiusz Micielski" Message-ID: <1692104488.d4960d8d4ad65e412413bf959952b1a692b25c34.remigiusz.micielski@gentoo> Subject: [gentoo-commits] repo/proj/guru:dev commit in: x11-misc/leftwm-theme/ X-VCS-Repository: repo/proj/guru X-VCS-Files: x11-misc/leftwm-theme/leftwm-theme-0.1.2_rc1.ebuild X-VCS-Directories: x11-misc/leftwm-theme/ X-VCS-Committer: remigiusz.micielski X-VCS-Committer-Name: Remigiusz Micielski X-VCS-Revision: d4960d8d4ad65e412413bf959952b1a692b25c34 X-VCS-Branch: dev Date: Tue, 15 Aug 2023 13:02:30 +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: fadc55ac-01ee-40d0-8925-d91a61532597 X-Archives-Hash: d0bf67cd1b5cde0df4542127f4d4b9fa commit: d4960d8d4ad65e412413bf959952b1a692b25c34 Author: Remigiusz Micielski purelymail com> AuthorDate: Tue Aug 15 13:01:28 2023 +0000 Commit: Remigiusz Micielski gmail com> CommitDate: Tue Aug 15 13:01:28 2023 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=d4960d8d x11-misc/leftwm-theme: fix tests Closes: https://bugs.gentoo.org/912304 Signed-off-by: Remigiusz Micielski purelymail.com> x11-misc/leftwm-theme/leftwm-theme-0.1.2_rc1.ebuild | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/x11-misc/leftwm-theme/leftwm-theme-0.1.2_rc1.ebuild b/x11-misc/leftwm-theme/leftwm-theme-0.1.2_rc1.ebuild index b242ce55ac..3602c19cb3 100644 --- a/x11-misc/leftwm-theme/leftwm-theme-0.1.2_rc1.ebuild +++ b/x11-misc/leftwm-theme/leftwm-theme-0.1.2_rc1.ebuild @@ -216,6 +216,14 @@ src_unpack() { cargo_src_unpack } +src_test() { + # leftwm-theme requires an internet connection pass "test_update_repos" + # unfortunately it doesn't look like that there's an option to skip particular tests in cargo.eclass + cargo test $(usex debug "" --release) ${ECARGO_ARGS[@]} "$@" -- --skip test_update_repos + einfo "${@}" + "${@}" || die "cargo test failed" +} + src_install() { dodoc README.md cd target/$(usex debug debug release) || die