summaryrefslogtreecommitdiffstats
path: root/meta/recipes-support/libnl/files/run-ptest
blob: e5c9eb0a3289e16957afead980ffdc72f423b666 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/bin/sh

num_fail=0

for test in check*
do
    ./"$test" \
         && echo "PASS: $test" \
         || {
            echo "FAIL: $test"
            num_fail=$(( ${num_fail} + 1))
         }

done

exit $num_fail