File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -53,12 +53,25 @@ while [ $# -ne 0 ]; do
5353done
5454
5555result=0
56+ venv_python=" ${venv_dir} /bin/python"
5657for lib_dir in " ${lib_dir_list[@]} " ; do
5758 export LD_LIBRARY_PATH=" ${lib_dir} "
58- if " ${venv_dir} /bin/python " -m usb1.testUSB1; then
59+ if " $venv_python " -m usb1.testUSB1; then
5960 :
6061 else
61- echo " failed with ${lib_dir} : status=$? "
62+ echo " usb1.testUSB1 failed with ${lib_dir} : status=$? "
63+ result=1
64+ fi
65+ if " $venv_python " " ${python_libusb1} /examples/listdevs.py" ; then
66+ :
67+ else
68+ echo " examples/listdevs.py failed with ${lib_dir} : status=$? "
69+ result=1
70+ fi
71+ if timeout --preserve-status --signal INT 1 " $venv_python " " ${python_libusb1} /examples/hotplug.py" ; then
72+ :
73+ else
74+ echo " examples/hotplug.py failed with ${lib_dir} : status=$? "
6275 result=1
6376 fi
6477done
You can’t perform that action at this time.
0 commit comments