diff options
Diffstat (limited to 'meta/lib/oeqa/selftest/cases/glibc.py')
-rw-r--r-- | meta/lib/oeqa/selftest/cases/glibc.py | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/meta/lib/oeqa/selftest/cases/glibc.py b/meta/lib/oeqa/selftest/cases/glibc.py index 6a34da39d9..7992ea6bf2 100644 --- a/meta/lib/oeqa/selftest/cases/glibc.py +++ b/meta/lib/oeqa/selftest/cases/glibc.py | |||
@@ -43,15 +43,10 @@ class GlibcSelfTest(OESelftestTestCase): | |||
43 | 43 | ||
44 | builddir = get_bb_var("B", "glibc-testsuite") | 44 | builddir = get_bb_var("B", "glibc-testsuite") |
45 | 45 | ||
46 | failed = 0 | ||
47 | self.tc.extraresults["ptestresult.sections"]["glibc"] = {} | 46 | self.tc.extraresults["ptestresult.sections"]["glibc"] = {} |
48 | with open(os.path.join(builddir, "tests.sum"), "r") as f: | 47 | with open(os.path.join(builddir, "tests.sum"), "r") as f: |
49 | for test, result in parse_values(f): | 48 | for test, result in parse_values(f): |
50 | self.tc.extraresults["ptestresult.glibc.{}".format(test)] = {"status" : result} | 49 | self.tc.extraresults["ptestresult.glibc.{}".format(test)] = {"status" : result} |
51 | if result == "FAIL": | ||
52 | self.logger.info("failed: '{}'".format(test)) | ||
53 | failed += 1 | ||
54 | self.assertEqual(failed, 0) | ||
55 | 50 | ||
56 | class GlibcSelfTestSystemEmulated(GlibcSelfTest): | 51 | class GlibcSelfTestSystemEmulated(GlibcSelfTest): |
57 | default_installed_packages = [ | 52 | default_installed_packages = [ |