[oe-commits] [openembedded-core] 08/10: selftest/wic: Improve error message got test_fixed_size
git at git.openembedded.org
git at git.openembedded.org
Mon Jul 23 12:43:50 UTC 2018
This is an automated email from the git hooks/post-receive script.
rpurdie pushed a commit to branch master-next
in repository openembedded-core.
commit d3ec9327ab4f5dc4ea67570b526399c8dd94acfa
Author: Richard Purdie <richard.purdie at linuxfoundation.org>
AuthorDate: Mon Jul 23 10:54:20 2018 +0000
selftest/wic: Improve error message got test_fixed_size
Currently this can fail with a message like 127 != 0 which is unhelpful.
If we remove the ignore_status=False, the debugging from runCmd is much
more helpful printing status.output.
Also remove the now unneeded exit code check.
Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
---
meta/lib/oeqa/selftest/cases/wic.py | 2 --
1 file changed, 2 deletions(-)
diff --git a/meta/lib/oeqa/selftest/cases/wic.py b/meta/lib/oeqa/selftest/cases/wic.py
index ba4d3be..6793efb 100644
--- a/meta/lib/oeqa/selftest/cases/wic.py
+++ b/meta/lib/oeqa/selftest/cases/wic.py
@@ -695,9 +695,7 @@ class Wic2(WicTestCase):
# verify partition size with wic
res = runCmd("parted -m %s unit mib p 2>/dev/null" % wicimg,
- ignore_status=True,
native_sysroot=self.native_sysroot)
- self.assertEqual(0, res.status)
# parse parted output which looks like this:
# BYT;\n
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the Openembedded-commits
mailing list