From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: 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 finch.gentoo.org (Postfix) with ESMTPS id BD43E1580E0 for ; Fri, 31 Jan 2025 16:34:39 +0000 (UTC) Received: from lists.gentoo.org (bobolink.gentoo.org [140.211.166.189]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) (Authenticated sender: relay-lists.gentoo.org@gentoo.org) by smtp.gentoo.org (Postfix) with ESMTPSA id A1CB4343127 for ; Fri, 31 Jan 2025 16:34:39 +0000 (UTC) Received: from bobolink.gentoo.org (localhost [127.0.0.1]) by bobolink.gentoo.org (Postfix) with ESMTP id 999031103B6; Fri, 31 Jan 2025 16:34:38 +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)) (No client certificate requested) by bobolink.gentoo.org (Postfix) with ESMTPS id 8D3181103B6 for ; Fri, 31 Jan 2025 16:34:38 +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 2C924342FAA for ; Fri, 31 Jan 2025 16:34:38 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 7F45111A7 for ; Fri, 31 Jan 2025 16:34:36 +0000 (UTC) From: "Guilherme Amadio" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Guilherme Amadio" Message-ID: <1738341267.530767f5a7058bbcaa9964dd44fd5774acd2f86b.amadio@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: net-libs/xrootd/ X-VCS-Repository: repo/gentoo X-VCS-Files: net-libs/xrootd/xrootd-9999.ebuild X-VCS-Directories: net-libs/xrootd/ X-VCS-Committer: amadio X-VCS-Committer-Name: Guilherme Amadio X-VCS-Revision: 530767f5a7058bbcaa9964dd44fd5774acd2f86b X-VCS-Branch: master Date: Fri, 31 Jan 2025 16:34:36 +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: e08fd6d1-f2f1-4f9c-a23b-9ec8aec281c5 X-Archives-Hash: f4d3b84966bfc62441f12c0fa38afcd7 commit: 530767f5a7058bbcaa9964dd44fd5774acd2f86b Author: Guilherme Amadio gentoo org> AuthorDate: Fri Jan 31 16:24:46 2025 +0000 Commit: Guilherme Amadio gentoo org> CommitDate: Fri Jan 31 16:34:27 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=530767f5 net-libs/xrootd: update live ebuild Skip tests which fail on tmpfs due to lack of extended attributes. Bug: https://bugs.gentoo.org/937090 Signed-off-by: Guilherme Amadio gentoo.org> net-libs/xrootd/xrootd-9999.ebuild | 26 +++++++++++++++++++++++--- 1 file changed, 23 insertions(+), 3 deletions(-) diff --git a/net-libs/xrootd/xrootd-9999.ebuild b/net-libs/xrootd/xrootd-9999.ebuild index 0cab5b5e48c7..3c19284b1087 100644 --- a/net-libs/xrootd/xrootd-9999.ebuild +++ b/net-libs/xrootd/xrootd-9999.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2024 Gentoo Authors +# Copyright 1999-2025 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -147,6 +147,27 @@ python_test() { } src_test() { + export CTEST_OUTPUT_ON_FAILURE=1 + + local CMAKE_SKIP_TESTS=( + # bug 937090, these fail on tmpfs, as they require + # a filesystem with extended attributes + $(usev server ' + XrdCl::LocalFileHandlerTest.XAttrTest + XrdCl::FileTest.XAttrTest + XrdCl::FileCopyTest.ThirdPartyCopyTest + XrdCl::FileCopyTest.NormalCopyTest + XrdCl::FileSystemTest.XAttrTest + XrdCl::WorkflowTest.XAttrWorkflowTest + XrdCl::WorkflowTest.CheckpointTest + ') + # server fails to start due to long path to unix domain socket + $(usev scitokens ' + XRootD::scitokens::setup + XRootD::scitokens::test + XRootD::scitokens::teardown + ') + ) cmake_src_test # Python tests currently require manual configuration and start-up of an xrootd server. # TODO: get this to run properly. @@ -197,8 +218,7 @@ src_install() { fi fi - if use test; then + if use server && use test; then rm "${ED}"/usr/bin/xrdshmap || die "Failed to remove test binary ${f} from installed tree" - rm "${ED}"/usr/$(get_libdir)/libXrd*Test*.so || die "Failed to remove test libraries from installed tree" fi }