From f6fed84380367fff92ba120f4e3e2e92d9cce73c Mon Sep 17 00:00:00 2001 From: Mihai Lindner Date: Thu, 5 Sep 2013 18:52:40 +0300 Subject: 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 Signed-off-by: Richard Purdie --- meta/lib/oeqa/oetest.py | 2 ++ meta/lib/oeqa/runtime/smart.py | 2 -- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'meta/lib') 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 -- cgit v1.2.3-54-g00ecf