summaryrefslogtreecommitdiffstats
path: root/lib/oeqa/selftest/cases
diff options
context:
space:
mode:
authorLaurent Bonnans <laurent.bonnans@here.com>2019-07-17 09:39:52 +0200
committerLaurent Bonnans <laurent.bonnans@here.com>2019-07-17 18:28:28 +0200
commitda4fbf300ee8c166aa77298d8ce2f3d794909478 (patch)
tree9a759d2e6a23b4615e5d3adc90a7635d50c63de1 /lib/oeqa/selftest/cases
parentaaee0a8f502e588a0a161d62f7393bf616e01526 (diff)
downloadmeta-updater-da4fbf300ee8c166aa77298d8ce2f3d794909478.tar.gz
Avoid unicode decode error in ptest
The full suite logs often contains invalid utf8 sequences. Signed-off-by: Laurent Bonnans <laurent.bonnans@here.com>
Diffstat (limited to 'lib/oeqa/selftest/cases')
-rw-r--r--lib/oeqa/selftest/cases/updater_qemux86_64_ptest.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/oeqa/selftest/cases/updater_qemux86_64_ptest.py b/lib/oeqa/selftest/cases/updater_qemux86_64_ptest.py
index fe09371..d20a9f0 100644
--- a/lib/oeqa/selftest/cases/updater_qemux86_64_ptest.py
+++ b/lib/oeqa/selftest/cases/updater_qemux86_64_ptest.py
@@ -41,7 +41,7 @@ class PtestTests(OESelftestTestCase):
41 if has_failure: 41 if has_failure:
42 print("Full test suite log:") 42 print("Full test suite log:")
43 stdout, _, _ = self.qemu_command('cat /tmp/aktualizr-ptest.log || cat /tmp/aktualizr-ptest.log.tmp', timeout=None) 43 stdout, _, _ = self.qemu_command('cat /tmp/aktualizr-ptest.log || cat /tmp/aktualizr-ptest.log.tmp', timeout=None)
44 print(stdout.decode()) 44 print(stdout.decode(errors='replace'))
45 45
46 self.assertEqual(retcode, 0) 46 self.assertEqual(retcode, 0)
47 self.assertFalse(has_failure) 47 self.assertFalse(has_failure)