oeqa/oetest: oeRuntimeTest: enable long messages

Set longMessage to True for all tests derived from oeRuntimeTest, in
order to have somewhat info on assertions with cryptic or no messages.

(From OE-Core rev: e5196ebd6c652431a3b80cdc9f60b752401314f4)

Signed-off-by: Mihai Lindner <mihaix.lindner@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Mihai Lindner 2013-09-05 18:52:40 +03:00 committed by Richard Purdie
parent c33bf220de
commit f6fed84380
2 changed files with 2 additions and 2 deletions

View File

@ -37,6 +37,8 @@ def runTests(tc):
class oeRuntimeTest(unittest.TestCase):
longMessage = True
testFailures = []
testSkipped = []
testErrors = []

View File

@ -12,8 +12,6 @@ def setUpModule():
class SmartTest(oeRuntimeTest):
longMessage = True
@skipUnlessPassed('test_smart_help')
def smart(self, command, expected = 0):
command = 'smart %s' % command