blob: 51e5a958dab4568fc71f593f67f4b6b2e8eafad1 [file] [edit]
#!/bin/sh
for case in `find tests -type f -name '*.sh'`; do
if ! command -v dbus-launch >/dev/null 2>&1; then
echo "SKIP: ${case} (dbus-launch not installed)"
continue
fi
bash $case python3 >$case.output 2>&1
ret=$?
if [ $ret -ne 0 ]; then
cat $case.output
echo "FAIL: ${case}"
elif grep -i 'SKIP' $case.output; then
echo "SKIP: ${case}"
else
echo "PASS: ${case}"
fi
rm -f $case.output
done