From: Alexander Kanavin Date: Tue, 17 Sep 2019 14:45:06 +0000 (+0200) Subject: strace: add a timeout for running ptests X-Git-Tag: lucaceresoli/bug-15201-perf-libtraceevent-missing~13232 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=36670f3989ef129d285b2a17c289f8fc7a44b320;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git strace: add a timeout for running ptests 5.2 kernel has introduced a significant performance regression where some of the tests take many minutes to complete (where previously it was seconds). While we're getting to the bottom of the issue and working with upstream to resove it, this change allows tests to proceed instead of getting stuck and eventually timing out. https://bugzilla.yoctoproject.org/show_bug.cgi?id=13506 Signed-off-by: Alexander Kanavin Signed-off-by: Richard Purdie --- diff --git a/meta/recipes-devtools/strace/strace/run-ptest b/meta/recipes-devtools/strace/strace/run-ptest index 8070d831799..2fed984e901 100755 --- a/meta/recipes-devtools/strace/strace/run-ptest +++ b/meta/recipes-devtools/strace/strace/run-ptest @@ -1,2 +1,3 @@ #!/bin/sh +export TIMEOUT_DURATION=30 make -B -C tests -k test-suite.log