summaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
authorRoss Burton <ross.burton@intel.com>2019-09-13 16:57:59 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2019-09-16 11:45:28 +0100
commitff4e6c71ac415de93b3abaa4e7f1727d72cd2971 (patch)
treed04aa9acc93fb5eb5fe728de2399b75b7d784f8c /meta
parent030b44af19268ae4a72bb25aa77526f7e39bd4a3 (diff)
downloadopenembedded-core-ff4e6c71ac415de93b3abaa4e7f1727d72cd2971.tar.gz
openembedded-core-ff4e6c71ac415de93b3abaa4e7f1727d72cd2971.tar.bz2
openembedded-core-ff4e6c71ac415de93b3abaa4e7f1727d72cd2971.zip
oeqa/selftest/wic: improve assert messages in test_fixed_size
Signed-off-by: Ross Burton <ross.burton@intel.com>
Diffstat (limited to 'meta')
-rw-r--r--meta/lib/oeqa/selftest/cases/wic.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/meta/lib/oeqa/selftest/cases/wic.py b/meta/lib/oeqa/selftest/cases/wic.py
index fcdd55059d..ea75300406 100644
--- a/meta/lib/oeqa/selftest/cases/wic.py
+++ b/meta/lib/oeqa/selftest/cases/wic.py
@@ -632,8 +632,10 @@ class Wic2(WicTestCase):
# 1:0.00MiB:200MiB:200MiB:ext4::;\n
partlns = res.output.splitlines()[2:]
- self.assertEqual(1, len(partlns))
- self.assertEqual("1:0.00MiB:200MiB:200MiB:ext4::;", partlns[0])
+ self.assertEqual(1, len(partlns),
+ msg="Partition list '%s'" % res.output)
+ self.assertEqual("1:0.00MiB:200MiB:200MiB:ext4::;", partlns[0],
+ msg="Partition list '%s'" % res.output)
def test_fixed_size_error(self):
"""