* [PATCH 0/1] oeqa/selftest/context: ensure log directory exists
@ 2018-12-07 6:43 Chen Qi
2018-12-07 6:43 ` [PATCH 1/1] " Chen Qi
0 siblings, 1 reply; 2+ messages in thread
From: Chen Qi @ 2018-12-07 6:43 UTC (permalink / raw)
To: openembedded-core
The following changes since commit 6f2ef620d90ab39870bb6c02183249e0e1045aeb:
oeqa/selftest/esdk: Fix typo causing test failure (2018-12-06 23:27:50 +0000)
are available in the git repository at:
git://git.pokylinux.org/poky-contrib ChenQi/selftest_log
http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=ChenQi/selftest_log
Chen Qi (1):
oeqa/selftest/context: ensure log directory exists
meta/lib/oeqa/selftest/context.py | 1 +
1 file changed, 1 insertion(+)
--
1.9.1
^ permalink raw reply [flat|nested] 2+ messages in thread
* [PATCH 1/1] oeqa/selftest/context: ensure log directory exists
2018-12-07 6:43 [PATCH 0/1] oeqa/selftest/context: ensure log directory exists Chen Qi
@ 2018-12-07 6:43 ` Chen Qi
0 siblings, 0 replies; 2+ messages in thread
From: Chen Qi @ 2018-12-07 6:43 UTC (permalink / raw)
To: openembedded-core
Ensure log directory exists to avoid the following error.
FileNotFoundError: [Errno 2] No such file or directory: '/.../build-selftest/tmp/log/oe-selftest-results-20181207043431.log'
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
---
meta/lib/oeqa/selftest/context.py | 1 +
1 file changed, 1 insertion(+)
diff --git a/meta/lib/oeqa/selftest/context.py b/meta/lib/oeqa/selftest/context.py
index c521290..c56e53d 100644
--- a/meta/lib/oeqa/selftest/context.py
+++ b/meta/lib/oeqa/selftest/context.py
@@ -108,6 +108,7 @@ class OESelftestTestContextExecutor(OETestContextExecutor):
logdir = os.environ.get("BUILDDIR")
if 'LOG_DIR' in bbvars:
logdir = bbvars['LOG_DIR']
+ bb.utils.mkdirhier(logdir)
args.output_log = logdir + '/%s-results-%s.log' % (self.name, args.test_start_time)
super(OESelftestTestContextExecutor, self)._process_args(logger, args)
--
1.9.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2018-12-07 6:35 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-12-07 6:43 [PATCH 0/1] oeqa/selftest/context: ensure log directory exists Chen Qi
2018-12-07 6:43 ` [PATCH 1/1] " Chen Qi
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox