From: Mihai Lindner Date: Thu, 5 Sep 2013 15:52:40 +0000 (+0300) Subject: oeqa/oetest: oeRuntimeTest: enable long messages X-Git-Tag: 2015-4~5274 X-Git-Url: https://code.ossystems.io/gitweb?a=commitdiff_plain;h=e5196ebd6c652431a3b80cdc9f60b752401314f4;p=openembedded-core.git 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. Signed-off-by: Mihai Lindner Signed-off-by: Richard Purdie --- diff --git a/meta/lib/oeqa/oetest.py b/meta/lib/oeqa/oetest.py index c9dc5dcd2e..529abdc19a 100644 --- a/meta/lib/oeqa/oetest.py +++ b/meta/lib/oeqa/oetest.py @@ -37,6 +37,8 @@ def runTests(tc): class oeRuntimeTest(unittest.TestCase): + + longMessage = True testFailures = [] testSkipped = [] testErrors = [] diff --git a/meta/lib/oeqa/runtime/smart.py b/meta/lib/oeqa/runtime/smart.py index 59083ca817..468e047c2c 100644 --- a/meta/lib/oeqa/runtime/smart.py +++ b/meta/lib/oeqa/runtime/smart.py @@ -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