aboutsummaryrefslogtreecommitdiffstats
path: root/meta/recipes-support/ptest-runner/files/ptest-runner
blob: 33424134c5e1f480e4ac693fa4f20ddbe584135c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#!/bin/sh

echo "START: $0"

for libdir in /usr/lib*
do

    [ ! -d "$libdir" ] && continue

    for x in `ls -d $libdir/*/ptest 2>/dev/null`
    do
        [ ! -f $x/run-ptest ] && continue
        [ -h `dirname $x` ] && continue

        date "+%Y-%m-%dT%H:%M"
        echo "BEGIN: $x"
        cd "$x"
        ./run-ptest
        echo "END: $x"
        date "+%Y-%m-%dT%H:%M"
    done
done
echo "STOP: $0"