summaryrefslogtreecommitdiffstats
path: root/meta/lib/oeqa/runtime
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2016-05-15 10:23:25 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-05-16 08:13:11 +0100
commitca2edae7c3585204a11f6d9d69351d37880bf761 (patch)
tree4324fe3bac47a19bae2f4a178d5da9279d251f66 /meta/lib/oeqa/runtime
parent52b3cc90667d692f9c69816146349261a38c3a69 (diff)
downloadpoky-ca2edae7c3585204a11f6d9d69351d37880bf761.tar.gz
oeqa: Print function python3 fixes
Use print functions for comptibility with python3. (From OE-Core rev: 0c89a8a276b67a9292ee3100003c789126bd9ea9) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/lib/oeqa/runtime')
-rw-r--r--meta/lib/oeqa/runtime/connman.py2
-rw-r--r--meta/lib/oeqa/runtime/parselogs.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/meta/lib/oeqa/runtime/connman.py b/meta/lib/oeqa/runtime/connman.py
index bd9dba3bd0..003fefe2ce 100644
--- a/meta/lib/oeqa/runtime/connman.py
+++ b/meta/lib/oeqa/runtime/connman.py
@@ -27,5 +27,5 @@ class ConnmanTest(oeRuntimeTest):
27 def test_connmand_running(self): 27 def test_connmand_running(self):
28 (status, output) = self.target.run(oeRuntimeTest.pscmd + ' | grep [c]onnmand') 28 (status, output) = self.target.run(oeRuntimeTest.pscmd + ' | grep [c]onnmand')
29 if status != 0: 29 if status != 0:
30 print self.service_status("connman") 30 print(self.service_status("connman"))
31 self.fail("No connmand process running") 31 self.fail("No connmand process running")
diff --git a/meta/lib/oeqa/runtime/parselogs.py b/meta/lib/oeqa/runtime/parselogs.py
index dec9ebe874..a93660131d 100644
--- a/meta/lib/oeqa/runtime/parselogs.py
+++ b/meta/lib/oeqa/runtime/parselogs.py
@@ -262,7 +262,7 @@ class ParseLogsTest(oeRuntimeTest):
262 self.write_dmesg() 262 self.write_dmesg()
263 log_list = self.get_local_log_list(self.log_locations) 263 log_list = self.get_local_log_list(self.log_locations)
264 result = self.parse_logs(self.errors, self.ignore_errors, log_list) 264 result = self.parse_logs(self.errors, self.ignore_errors, log_list)
265 print self.getHardwareInfo() 265 print(self.getHardwareInfo())
266 errcount = 0 266 errcount = 0
267 for log in result: 267 for log in result:
268 self.msg += "Log: "+log+"\n" 268 self.msg += "Log: "+log+"\n"