diff options
Diffstat (limited to 'meta-oe/recipes-support/libusb/libusb-compat/run-ptest')
-rw-r--r-- | meta-oe/recipes-support/libusb/libusb-compat/run-ptest | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/meta-oe/recipes-support/libusb/libusb-compat/run-ptest b/meta-oe/recipes-support/libusb/libusb-compat/run-ptest new file mode 100644 index 0000000000..901662d696 --- /dev/null +++ b/meta-oe/recipes-support/libusb/libusb-compat/run-ptest @@ -0,0 +1,14 @@ +#!/bin/sh + +rc=0 +for TEST in lsusb testlibusb; do + if ! ./$TEST ; then + echo "FAIL: $TEST" + rc=$((rc + 1)) + else + echo "PASS: $TEST" + fi +done + +# return number of failed tests +exit $rc |