diff options
Diffstat (limited to 'meta')
-rw-r--r-- | meta/lib/oeqa/selftest/cases/gcc.py | 1 | ||||
-rw-r--r-- | meta/lib/oeqa/selftest/cases/glibc.py | 5 |
2 files changed, 4 insertions, 2 deletions
diff --git a/meta/lib/oeqa/selftest/cases/gcc.py b/meta/lib/oeqa/selftest/cases/gcc.py index dba453f00a..f4fed40ea5 100644 --- a/meta/lib/oeqa/selftest/cases/gcc.py +++ b/meta/lib/oeqa/selftest/cases/gcc.py | |||
@@ -79,6 +79,7 @@ class GccSelfTest(OESelftestTestCase): | |||
79 | sumspath = os.path.join(builddir, target_sys, suite, "testsuite", "{0}.sum".format(suite.split("-")[0])) | 79 | sumspath = os.path.join(builddir, target_sys, suite, "testsuite", "{0}.sum".format(suite.split("-")[0])) |
80 | 80 | ||
81 | ptestsuite = "gcc-{}".format(suite) if suite != "gcc" else suite | 81 | ptestsuite = "gcc-{}".format(suite) if suite != "gcc" else suite |
82 | ptestsuite = ptestsuite + "-user" if ssh is None else ptestsuite | ||
82 | self.tc.extraresults["ptestresult.sections"][ptestsuite] = {} | 83 | self.tc.extraresults["ptestresult.sections"][ptestsuite] = {} |
83 | with open(sumspath, "r") as f: | 84 | with open(sumspath, "r") as f: |
84 | for test, result in parse_values(f): | 85 | for test, result in parse_values(f): |
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 | ||
51 | class GlibcSelfTestSystemEmulated(GlibcSelfTest): | 52 | class GlibcSelfTestSystemEmulated(GlibcSelfTest): |
52 | default_installed_packages = [ | 53 | default_installed_packages = [ |