diff options
author | Mihai Lindner <mihaix.lindner@linux.intel.com> | 2013-09-05 18:52:40 +0300 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-09-06 23:03:23 +0100 |
commit | f6fed84380367fff92ba120f4e3e2e92d9cce73c (patch) | |
tree | 47d16c41b773221473dd37951e6a56b6612595d2 /meta | |
parent | c33bf220de194c913115e5b3f9bef83c3ae4f857 (diff) | |
download | poky-f6fed84380367fff92ba120f4e3e2e92d9cce73c.tar.gz |
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>
Diffstat (limited to 'meta')
-rw-r--r-- | meta/lib/oeqa/oetest.py | 2 | ||||
-rw-r--r-- | 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 c9dc5dcd2e..529abdc19a 100644 --- a/meta/lib/oeqa/oetest.py +++ b/meta/lib/oeqa/oetest.py | |||
@@ -37,6 +37,8 @@ def runTests(tc): | |||
37 | 37 | ||
38 | 38 | ||
39 | class oeRuntimeTest(unittest.TestCase): | 39 | class oeRuntimeTest(unittest.TestCase): |
40 | |||
41 | longMessage = True | ||
40 | testFailures = [] | 42 | testFailures = [] |
41 | testSkipped = [] | 43 | testSkipped = [] |
42 | testErrors = [] | 44 | 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(): | |||
12 | 12 | ||
13 | class SmartTest(oeRuntimeTest): | 13 | class SmartTest(oeRuntimeTest): |
14 | 14 | ||
15 | longMessage = True | ||
16 | |||
17 | @skipUnlessPassed('test_smart_help') | 15 | @skipUnlessPassed('test_smart_help') |
18 | def smart(self, command, expected = 0): | 16 | def smart(self, command, expected = 0): |
19 | command = 'smart %s' % command | 17 | command = 'smart %s' % command |