diff options
Diffstat (limited to 'meta/recipes-devtools/strace/strace/run-ptest')
-rwxr-xr-x | meta/recipes-devtools/strace/strace/run-ptest | 13 |
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 | |||
3 | set -u | ||
4 | |||
2 | export TIMEOUT_DURATION=240 | 5 | export TIMEOUT_DURATION=240 |
3 | chown nobody tests | 6 | make -j4 -B -C tests -k test-suite.log |
4 | chown nobody tests/* | 7 | res=$? |
5 | chown nobody ../ptest | 8 | if [ $res -ne 0 ]; then |
6 | su nobody -c "make -B -C tests -k test-suite.log" | 9 | cat tests/test-suite.log |
10 | fi | ||
11 | exit $res | ||