diff options
author | Laurent Bonnans <laurent.bonnans@here.com> | 2019-07-17 09:39:52 +0200 |
---|---|---|
committer | Laurent Bonnans <laurent.bonnans@here.com> | 2019-07-17 18:28:28 +0200 |
commit | da4fbf300ee8c166aa77298d8ce2f3d794909478 (patch) | |
tree | 9a759d2e6a23b4615e5d3adc90a7635d50c63de1 /lib/oeqa/selftest/cases | |
parent | aaee0a8f502e588a0a161d62f7393bf616e01526 (diff) | |
download | meta-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.py | 2 |
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) |