@@ -60,7 +60,7 @@ class PtestRunnerTest(OERuntimeTestCase):
if not libdir in ptest_dirs:
ptest_dirs.append(libdir)
ptest_timeout = self.td.get('PTEST_RUNNER_TIMEOUT', '450')
- status, output = self.target.run('ptest-runner -t {} -d \"{}\"'.format(ptest_timeout, ' '.join(ptest_dirs)), 0)
+ status, output = self.target.run('ptest-runner -t {} -d \"{}\"'.format(ptest_timeout, ' '.join(ptest_dirs)), timeout=int(ptest_timeout)+30)
os.makedirs(ptest_log_dir)
with open(ptest_runner_log, 'w') as f:
f.write(output)
The ptest runner command has timeouts disabled which has the side effect of limiting the command logging. This can lead to incomplete logs and makes issues harder to debug since the log buffer is lost if things crash or are interrupted. Pass in a timeout value of the ptest timeout + 30 so that debugging is improved. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> --- meta/lib/oeqa/runtime/cases/ptest.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)