blob: 51e5a958dab4568fc71f593f67f4b6b2e8eafad1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
#!/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
|