]> code.ossystems Code Review - openembedded-core.git/commit
oeqa/sstatettests: Improve output of assert
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 7 Sep 2015 19:24:28 +0000 (20:24 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 9 Sep 2015 13:25:08 +0000 (14:25 +0100)
commite482f9bfddc6b710c9b566c3d3433dc2d7d5a22e
tree473d6e6d1e7834ce44a3a8fa7f01eb050eb5ba76
parent0dab62934e69019557ebae392dc8cb25e37748c2
oeqa/sstatettests: Improve output of assert

Currently if this fails you see:

"AssertionError: 1 != 0"

which is useless. Add the output of the failed command so we can stand
some chance of debugging what went wrong.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/lib/oeqa/selftest/sstatetests.py