aboutsummaryrefslogtreecommitdiffstats
path: root/meta-python/recipes-devtools/python/python3-pydbus/run-ptest
blob: 782ceed3bb20494b1cd46d82986aab3c55d7d890 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/bin/sh

for case in `find tests -type f -name '*.sh'`; do
    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