summaryrefslogtreecommitdiffstats
path: root/meta/lib/oeqa/selftest/cases/gcc.py
diff options
context:
space:
mode:
Diffstat (limited to 'meta/lib/oeqa/selftest/cases/gcc.py')
-rw-r--r--meta/lib/oeqa/selftest/cases/gcc.py6
1 files changed, 0 insertions, 6 deletions
diff --git a/meta/lib/oeqa/selftest/cases/gcc.py b/meta/lib/oeqa/selftest/cases/gcc.py
index 0b0157e568..dba453f00a 100644
--- a/meta/lib/oeqa/selftest/cases/gcc.py
+++ b/meta/lib/oeqa/selftest/cases/gcc.py
@@ -71,7 +71,6 @@ class GccSelfTest(OESelftestTestCase):
71 bb_vars = get_bb_vars(["B", "TARGET_SYS"], recipe) 71 bb_vars = get_bb_vars(["B", "TARGET_SYS"], recipe)
72 builddir, target_sys = bb_vars["B"], bb_vars["TARGET_SYS"] 72 builddir, target_sys = bb_vars["B"], bb_vars["TARGET_SYS"]
73 73
74 failed = 0
75 for suite in suites: 74 for suite in suites:
76 sumspath = os.path.join(builddir, "gcc", "testsuite", suite, "{0}.sum".format(suite)) 75 sumspath = os.path.join(builddir, "gcc", "testsuite", suite, "{0}.sum".format(suite))
77 if not os.path.exists(sumspath): # check in target dirs 76 if not os.path.exists(sumspath): # check in target dirs
@@ -84,11 +83,6 @@ class GccSelfTest(OESelftestTestCase):
84 with open(sumspath, "r") as f: 83 with open(sumspath, "r") as f:
85 for test, result in parse_values(f): 84 for test, result in parse_values(f):
86 self.tc.extraresults["ptestresult.{}.{}".format(ptestsuite, test)] = {"status" : result} 85 self.tc.extraresults["ptestresult.{}.{}".format(ptestsuite, test)] = {"status" : result}
87 if result == "FAIL":
88 self.logger.info("failed: '{}'".format(test))
89 failed += 1
90
91 self.assertEqual(failed, 0)
92 86
93class GccSelfTestSystemEmulated(GccSelfTest): 87class GccSelfTestSystemEmulated(GccSelfTest):
94 default_installed_packages = ["libgcc", "libstdc++", "libatomic", "libgomp"] 88 default_installed_packages = ["libgcc", "libstdc++", "libatomic", "libgomp"]