summaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2018-07-23 10:54:20 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2018-07-25 16:48:27 +0100
commite3dcd61337fb5f89a3f875ec9dd7551529722feb (patch)
tree65166f9e2c779500e838089db06a9475789402ad /meta
parentd8762a1ea74bbd9a9ee1510fe5ffa8db1b7d0d61 (diff)
downloadpoky-e3dcd61337fb5f89a3f875ec9dd7551529722feb.tar.gz
selftest/wic: Improve error message for 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. (From OE-Core rev: 1aa7471b11aedc68de5116c461fe73152e3985fd) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r--meta/lib/oeqa/selftest/cases/wic.py2
1 files changed, 0 insertions, 2 deletions
diff --git a/meta/lib/oeqa/selftest/cases/wic.py b/meta/lib/oeqa/selftest/cases/wic.py
index ba4d3be7a8..6793efb62e 100644
--- a/meta/lib/oeqa/selftest/cases/wic.py
+++ b/meta/lib/oeqa/selftest/cases/wic.py
@@ -695,9 +695,7 @@ class Wic2(WicTestCase):
695 695
696 # verify partition size with wic 696 # verify partition size with wic
697 res = runCmd("parted -m %s unit mib p 2>/dev/null" % wicimg, 697 res = runCmd("parted -m %s unit mib p 2>/dev/null" % wicimg,
698 ignore_status=True,
699 native_sysroot=self.native_sysroot) 698 native_sysroot=self.native_sysroot)
700 self.assertEqual(0, res.status)
701 699
702 # parse parted output which looks like this: 700 # parse parted output which looks like this:
703 # BYT;\n 701 # BYT;\n