summaryrefslogtreecommitdiffstats
path: root/meta/lib/oeqa/selftest/cases/glibc.py
diff options
context:
space:
mode:
Diffstat (limited to 'meta/lib/oeqa/selftest/cases/glibc.py')
-rw-r--r--meta/lib/oeqa/selftest/cases/glibc.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/meta/lib/oeqa/selftest/cases/glibc.py b/meta/lib/oeqa/selftest/cases/glibc.py
index 7992ea6bf2..4d0c13131b 100644
--- a/meta/lib/oeqa/selftest/cases/glibc.py
+++ b/meta/lib/oeqa/selftest/cases/glibc.py
@@ -43,10 +43,11 @@ class GlibcSelfTest(OESelftestTestCase):
43 43
44 builddir = get_bb_var("B", "glibc-testsuite") 44 builddir = get_bb_var("B", "glibc-testsuite")
45 45
46 self.tc.extraresults["ptestresult.sections"]["glibc"] = {} 46 ptestsuite = "glibc-user" if ssh is None else "glibc"
47 self.tc.extraresults["ptestresult.sections"][ptestsuite] = {}
47 with open(os.path.join(builddir, "tests.sum"), "r") as f: 48 with open(os.path.join(builddir, "tests.sum"), "r") as f:
48 for test, result in parse_values(f): 49 for test, result in parse_values(f):
49 self.tc.extraresults["ptestresult.glibc.{}".format(test)] = {"status" : result} 50 self.tc.extraresults["ptestresult.{}.{}".format(ptestsuite, test)] = {"status" : result}
50 51
51class GlibcSelfTestSystemEmulated(GlibcSelfTest): 52class GlibcSelfTestSystemEmulated(GlibcSelfTest):
52 default_installed_packages = [ 53 default_installed_packages = [