summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/strace/strace/run-ptest
diff options
context:
space:
mode:
authorAlexander Kanavin <alex.kanavin@gmail.com>2020-05-22 12:58:32 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2020-06-02 13:32:50 +0100
commit00c9ca0b030f6ec9072bcccc22cb07d46a4f12c4 (patch)
tree3bc594793570f5aa2e37a385c24bd6fcc5e4ef19 /meta/recipes-devtools/strace/strace/run-ptest
parentfb2a7918923d01f69dd2fe4f7c223eaecb14af3e (diff)
downloadpoky-00c9ca0b030f6ec9072bcccc22cb07d46a4f12c4.tar.gz
strace: fix failing ptests
1. They need to be run under regular user. 2. Some tests genuinely need more time than 30 seconds 3. The Makefile patch erroneously introduced a test-breaking change. (From OE-Core rev: 3d6bf58c7080c1cacf3ed1f270ff5acf4858c790) (From OE-Core rev: 7bc11ef93b02ff3b223fc0b3b730ce7b06181156) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit a5e90281ac211e912ec6bfd6873e56152ec8bd4e) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/strace/strace/run-ptest')
-rwxr-xr-xmeta/recipes-devtools/strace/strace/run-ptest7
1 files changed, 5 insertions, 2 deletions
diff --git a/meta/recipes-devtools/strace/strace/run-ptest b/meta/recipes-devtools/strace/strace/run-ptest
index 2fed984e90..4660207220 100755
--- a/meta/recipes-devtools/strace/strace/run-ptest
+++ b/meta/recipes-devtools/strace/strace/run-ptest
@@ -1,3 +1,6 @@
1#!/bin/sh 1#!/bin/sh
2export TIMEOUT_DURATION=30 2export TIMEOUT_DURATION=120
3make -B -C tests -k test-suite.log 3chown nobody tests
4chown nobody tests/*
5chown nobody ../ptest
6su nobody -c "make -B -C tests -k test-suite.log"