diff options
author | Laurent Bonnans <laurent.bonnans@here.com> | 2019-05-08 10:56:04 +0200 |
---|---|---|
committer | Patrick Vacek <patrickvacek@gmail.com> | 2019-05-17 10:28:04 +0200 |
commit | 613e64e3d0b2776be1ecec8019b6233229eb554d (patch) | |
tree | e1d29ec6a1ff346d425e5192391185f0bf673fe2 | |
parent | 4f3513c3a38172a95127f148d03c676e6de4020b (diff) | |
download | meta-updater-613e64e3d0b2776be1ecec8019b6233229eb554d.tar.gz |
Fix bad ptest printing of failures
Signed-off-by: Laurent Bonnans <laurent.bonnans@here.com>
-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 8783fe0..0f0f491 100644 --- a/lib/oeqa/selftest/cases/updater_qemux86_64_ptest.py +++ b/lib/oeqa/selftest/cases/updater_qemux86_64_ptest.py | |||
@@ -45,7 +45,7 @@ class PtestTests(OESelftestTestCase): | |||
45 | has_failure = re.search('^FAIL', output, flags=re.MULTILINE) is not None | 45 | has_failure = re.search('^FAIL', output, flags=re.MULTILINE) is not None |
46 | if has_failure: | 46 | if has_failure: |
47 | print("Full test suite log:") | 47 | print("Full test suite log:") |
48 | stdout, _, _ = self.qemu_command('sh -c "cat /tmp/aktualizr-ptest.log || cat /tmp/aktualizr-ptest.log.tmp"', timeout=None) | 48 | stdout, _, _ = self.qemu_command('cat /tmp/aktualizr-ptest.log || cat /tmp/aktualizr-ptest.log.tmp', timeout=None) |
49 | print(stdout.decode()) | 49 | print(stdout.decode()) |
50 | 50 | ||
51 | self.assertEqual(retcode, 0) | 51 | self.assertEqual(retcode, 0) |