summaryrefslogtreecommitdiffstats
path: root/meta/lib/oeqa/selftest/context.py
diff options
context:
space:
mode:
Diffstat (limited to 'meta/lib/oeqa/selftest/context.py')
-rw-r--r--meta/lib/oeqa/selftest/context.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/meta/lib/oeqa/selftest/context.py b/meta/lib/oeqa/selftest/context.py
index 9a56888c2f..da7f26b30f 100644
--- a/meta/lib/oeqa/selftest/context.py
+++ b/meta/lib/oeqa/selftest/context.py
@@ -11,6 +11,7 @@ from shutil import copyfile
11from random import choice 11from random import choice
12 12
13import oeqa 13import oeqa
14import oe
14 15
15from oeqa.core.context import OETestContext, OETestContextExecutor 16from oeqa.core.context import OETestContext, OETestContextExecutor
16from oeqa.core.exception import OEQAPreRun, OEQATestNotFound 17from oeqa.core.exception import OEQAPreRun, OEQATestNotFound
@@ -216,7 +217,7 @@ class OESelftestTestContextExecutor(OETestContextExecutor):
216 configuration = {'TEST_TYPE': 'oeselftest', 217 configuration = {'TEST_TYPE': 'oeselftest',
217 'STARTTIME': args.test_start_time, 218 'STARTTIME': args.test_start_time,
218 'MACHINE': self.tc.td["MACHINE"], 219 'MACHINE': self.tc.td["MACHINE"],
219 'HOST_DISTRO': ('-'.join(platform.linux_distribution())).replace(' ', '-'), 220 'HOST_DISTRO': oe.lsb.distro_identifier().replace(' ', '-'),
220 'HOST_NAME': metadata['hostname'], 221 'HOST_NAME': metadata['hostname'],
221 'LAYERS': metadata['layers']} 222 'LAYERS': metadata['layers']}
222 return configuration 223 return configuration