summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/strace/strace/run-ptest
blob: 02bb91e07feefbebcca81c1b7d0c881e7a1929f5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/bin/sh

set -u

export TIMEOUT_DURATION=240
chown nobody tests
chown nobody tests/*
chown nobody ../ptest

su nobody -c "make -B -C tests -k test-suite.log"
res=$?
if [ $res -ne 0 ]; then
    cat tests/test-suite.log
fi
exit $res