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-17 10:34:34 +0200
commit96c83784087f145c7cada80cbbba16681a887c31 (patch)
treec7c085092c1d3aea348202b8ab94c7e89b67a1fe
parent23d297ede1230861da1c7caecf5ca682e07c7093 (diff)
downloadmeta-updater-96c83784087f145c7cada80cbbba16681a887c31.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.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)