summaryrefslogtreecommitdiffstats
path: root/meta/lib
diff options
context:
space:
mode:
Diffstat (limited to 'meta/lib')
-rw-r--r--meta/lib/oeqa/runtime/cases/ptest.py10
1 files changed, 9 insertions, 1 deletions
diff --git a/meta/lib/oeqa/runtime/cases/ptest.py b/meta/lib/oeqa/runtime/cases/ptest.py
index 6ae951356d..2a28ca59a8 100644
--- a/meta/lib/oeqa/runtime/cases/ptest.py
+++ b/meta/lib/oeqa/runtime/cases/ptest.py
@@ -70,5 +70,13 @@ class PtestRunnerTest(OERuntimeTestCase):
70 if failed_testcases: 70 if failed_testcases:
71 failed_tests[section] = failed_testcases 71 failed_tests[section] = failed_testcases
72 72
73 failmsg = ""
74 status, output = self.target.run('dmesg | grep "Killed process"', 0)
75 if output:
76 failmsg = "ERROR: Processes were killed by the OOM Killer:\n%s\n" % output
77
73 if failed_tests: 78 if failed_tests:
74 self.fail("Failed ptests:\n%s" % pprint.pformat(failed_tests)) 79 failmsg = failmsg + "Failed ptests:\n%s" % pprint.pformat(failed_tests)
80
81 if failmsg:
82 self.fail(failmsg)