Skip to content

Commit df944bd

Browse files
committed
setup.sh: Tell which python version failed the tests.
1 parent c31c1d8 commit df944bd

1 file changed

Lines changed: 6 additions & 1 deletion

File tree

setup.sh

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,12 @@
22
set -eu
33
cd "$(dirname "$(realpath "$0")")"
44
for python_v in python3 pypy3; do
5-
./runTestLibusb.sh "$python_v" https://github.com/libusb/libusb.git libusb.git master v1.0.19 v1.0.22 v1.0.24
5+
if ./runTestLibusb.sh "$python_v" https://github.com/libusb/libusb.git libusb.git master v1.0.19 v1.0.22 v1.0.24; then
6+
:
7+
else
8+
echo "runTestLibusb.sh failed with ${python_v} ($("$python_v" --version))"
9+
false
10+
fi
611
done
712
export I_KNOW_HOW_TO_RELEASE_PYTHON_LIBUSB1=1
813
echo "Fetching libusb1 windows binary distribution..."

0 commit comments

Comments
 (0)