]> code.ossystems Code Review - openembedded-core.git/commit
oeqa: add proper handling for command errors where needed
authorPaul Eggleton <paul.eggleton@linux.intel.com>
Wed, 30 Apr 2014 12:32:04 +0000 (13:32 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 30 Apr 2014 20:52:12 +0000 (21:52 +0100)
commit89868383685091b0d3723fb8f29590f3f6610078
treef14f7fa22a11b263769173cead5a9528584c2a22
parentf71e9fe7c31fa44f5185d9ab64813ba2af57ca2a
oeqa: add proper handling for command errors where needed

For use outside of tests themselves, we want a better error than
AssertionError, so create one and allow us to request it when calling
runCmd(). This enables us to avoid tracebacks during master image
operations if the power control command fails.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/lib/oeqa/controllers/masterimage.py
meta/lib/oeqa/utils/__init__.py
meta/lib/oeqa/utils/commands.py