aboutsummaryrefslogtreecommitdiffstats
path: root/meta/lib
diff options
context:
space:
mode:
authorMihai Lindner <mihaix.lindner@linux.intel.com>2013-09-05 18:52:40 +0300
committerRichard Purdie <richard.purdie@linuxfoundation.org>2013-09-06 23:01:49 +0100
commite5196ebd6c652431a3b80cdc9f60b752401314f4 (patch)
treede33833f08b0550a88e55e04c2ba0250051100a9 /meta/lib
parent77a0b904e18688ecf81a35544f3a5d6ba0aa61a8 (diff)
downloadopenembedded-core-e5196ebd6c652431a3b80cdc9f60b752401314f4.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. Signed-off-by: Mihai Lindner <mihaix.lindner@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/lib')
-rw-r--r--meta/lib/oeqa/oetest.py2
-rw-r--r--meta/lib/oeqa/runtime/smart.py2
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):
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