avs_mtk_voice/meta/meta-mediatek-aud/recipes-connectivity/bluez/bluez5/run-ptest

32 lines
464 B
Plaintext
Raw Permalink Normal View History

2022-05-13 08:02:31 +00:00
#! /bin/sh
cd unit
failed=0
all=0
for f in test-*; do
"./$f"
case "$?" in
0)
echo "PASS: $f"
all=$((all + 1))
;;
77)
echo "SKIP: $f"
;;
*)
echo "FAIL: $f"
failed=$((failed + 1))
all=$((all + 1))
;;
esac
done
if [ "$failed" -eq 0 ] ; then
echo "All $all tests passed"
else
echo "$failed of $all tests failed"
fi