summaryrefslogtreecommitdiffstats
path: root/meta/lib/oeqa/selftest
diff options
context:
space:
mode:
Diffstat (limited to 'meta/lib/oeqa/selftest')
-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 4509e0f63d..dab7268829 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
@@ -218,7 +219,7 @@ class OESelftestTestContextExecutor(OETestContextExecutor):
218 configuration = {'TEST_TYPE': 'oeselftest', 219 configuration = {'TEST_TYPE': 'oeselftest',
219 'STARTTIME': args.test_start_time, 220 'STARTTIME': args.test_start_time,
220 'MACHINE': self.tc.td["MACHINE"], 221 'MACHINE': self.tc.td["MACHINE"],
221 'HOST_DISTRO': ('-'.join(platform.linux_distribution())).replace(' ', '-'), 222 'HOST_DISTRO': oe.lsb.distro_identifier().replace(' ', '-'),
222 'HOST_NAME': metadata['hostname'], 223 'HOST_NAME': metadata['hostname'],
223 'LAYERS': metadata['layers']} 224 'LAYERS': metadata['layers']}
224 return configuration 225 return configuration