summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/strace/strace/run-ptest
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-devtools/strace/strace/run-ptest')
-rwxr-xr-xmeta/recipes-devtools/strace/strace/run-ptest13
1 files changed, 9 insertions, 4 deletions
diff --git a/meta/recipes-devtools/strace/strace/run-ptest b/meta/recipes-devtools/strace/strace/run-ptest
index 3a51fb0be9..1224229e8f 100755
--- a/meta/recipes-devtools/strace/strace/run-ptest
+++ b/meta/recipes-devtools/strace/strace/run-ptest
@@ -1,6 +1,11 @@
1#!/bin/sh 1#!/bin/sh
2
3set -u
4
2export TIMEOUT_DURATION=240 5export TIMEOUT_DURATION=240
3chown nobody tests 6make -j4 -B -C tests -k test-suite.log
4chown nobody tests/* 7res=$?
5chown nobody ../ptest 8if [ $res -ne 0 ]; then
6su nobody -c "make -B -C tests -k test-suite.log" 9 cat tests/test-suite.log
10fi
11exit $res