summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLaurent Bonnans <laurent.bonnans@here.com>2019-05-08 10:56:04 +0200
committerPatrick Vacek <patrickvacek@gmail.com>2019-05-13 11:58:42 +0200
commitfbc6d2b60d78ec500fa7a14cf9724497142867ce (patch)
tree6443c974aca7aa2c3803b1f941fe4fb66d6d8e44
parentd864dcdaa68816ec3ae534bb1f03015db731ef4e (diff)
downloadmeta-updater-test/thud/ptest-printing.tar.gz
Fix bad ptest printing of failurestest/thud/ptest-printing
Signed-off-by: Laurent Bonnans <laurent.bonnans@here.com>
-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 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)