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) server-digest SHA256) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 5DBAB158086 for ; Wed, 17 Nov 2021 22:15:26 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 067B8E08A2; Wed, 17 Nov 2021 22:15:25 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (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 pigeon.gentoo.org (Postfix) with ESMTPS id 993AAE08A2 for ; Wed, 17 Nov 2021 22:15:23 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (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 67635342BB2 for ; Wed, 17 Nov 2021 22:15:22 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id C80D7163 for ; Wed, 17 Nov 2021 22:15:20 +0000 (UTC) From: "Mike Gilbert" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Mike Gilbert" Message-ID: <1637187254.476da19e46c29b4244fd73d4c056a02324de0b9f.floppym@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/libusb/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-libs/libusb/libusb-1.0.24-r2.ebuild X-VCS-Directories: dev-libs/libusb/ X-VCS-Committer: floppym X-VCS-Committer-Name: Mike Gilbert X-VCS-Revision: 476da19e46c29b4244fd73d4c056a02324de0b9f X-VCS-Branch: master Date: Wed, 17 Nov 2021 22:15:20 +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: 60eb303c-7d4c-43b5-9e3b-d44ed8a1ae5f X-Archives-Hash: c55a46bbe6da78ec66f426d54779174f commit: 476da19e46c29b4244fd73d4c056a02324de0b9f Author: Mike Gilbert gentoo org> AuthorDate: Wed Nov 17 22:14:14 2021 +0000 Commit: Mike Gilbert gentoo org> CommitDate: Wed Nov 17 22:14:14 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=476da19e dev-libs/libusb: skip stress test when /dev/bus/usb is missing Closes: https://bugs.gentoo.org/824266 Signed-off-by: Mike Gilbert gentoo.org> dev-libs/libusb/libusb-1.0.24-r2.ebuild | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/dev-libs/libusb/libusb-1.0.24-r2.ebuild b/dev-libs/libusb/libusb-1.0.24-r2.ebuild index 2e1af019d6a1..c13d355add9e 100644 --- a/dev-libs/libusb/libusb-1.0.24-r2.ebuild +++ b/dev-libs/libusb/libusb-1.0.24-r2.ebuild @@ -46,7 +46,12 @@ multilib_src_test() { emake check # noinst_PROGRAMS from tests/Makefile.am - tests/stress || die + if [[ -e /dev/bus/usb ]]; then + tests/stress || die + else + # https://bugs.gentoo.org/824266 + ewarn "/dev/bus/usb does not exist, skipping stress test" + fi } multilib_src_install() {