]> code.ossystems Code Review - openembedded-core.git/commitdiff
strace: add a timeout for running ptests
authorAlexander Kanavin <alex.kanavin@gmail.com>
Tue, 17 Sep 2019 14:45:06 +0000 (16:45 +0200)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 18 Sep 2019 11:08:56 +0000 (12:08 +0100)
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 <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-devtools/strace/strace/run-ptest

index 8070d831799ec7d5dd63020469c9c0b7a2887138..2fed984e901735f80972a621f0cb6116ef7834f5 100755 (executable)
@@ -1,2 +1,3 @@
 #!/bin/sh
+export TIMEOUT_DURATION=30
 make -B -C tests -k test-suite.log