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 <[email protected]> --- meta/lib/oeqa/oetest.py | 2 ++ meta/lib/oeqa/runtime/smart.py | 2 -- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/meta/lib/oeqa/oetest.py b/meta/lib/oeqa/oetest.py index c9dc5dc..529abdc 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 59083ca..468e047 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 -- 1.8.3.2 _______________________________________________ Openembedded-core mailing list [email protected] http://lists.openembedded.org/mailman/listinfo/openembedded-core
