summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-libs/libusb')
-rw-r--r--dev-libs/libusb/libusb-1.0.24-r2.ebuild7
1 files changed, 6 insertions, 1 deletions
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() {