summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexander Kanavin <alex.kanavin@gmail.com>2019-09-17 16:45:06 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2019-09-18 12:09:02 +0100
commitb009e68edefeee9066c2e2474c7648d1981eff00 (patch)
tree07f35e6458444ee3e71e765e5f94ecea552fad31
parent53b5654d6eebfbc1e290af3cfda7f0ed7b71f59e (diff)
downloadpoky-b009e68edefeee9066c2e2474c7648d1981eff00.tar.gz
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 (From OE-Core rev: 36670f3989ef129d285b2a17c289f8fc7a44b320) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rwxr-xr-xmeta/recipes-devtools/strace/strace/run-ptest1
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/recipes-devtools/strace/strace/run-ptest b/meta/recipes-devtools/strace/strace/run-ptest
index 8070d83179..2fed984e90 100755
--- a/meta/recipes-devtools/strace/strace/run-ptest
+++ b/meta/recipes-devtools/strace/strace/run-ptest
@@ -1,2 +1,3 @@
1#!/bin/sh 1#!/bin/sh
2export TIMEOUT_DURATION=30
2make -B -C tests -k test-suite.log 3make -B -C tests -k test-suite.log