[oe-commits] Mihai Lindner : oeqa/oetest: oeRuntimeTest: enable long messages
git at git.openembedded.org
git at git.openembedded.org
Fri Sep 6 22:00:02 UTC 2013
Module: openembedded-core.git
Branch: master-next-1.6
Commit: 29e27fcfe2e4fc6d0e0fc1773cbf459271bb9163
URL: http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=29e27fcfe2e4fc6d0e0fc1773cbf459271bb9163
Author: Mihai Lindner <mihaix.lindner at linux.intel.com>
Date: Thu Sep 5 18:52:40 2013 +0300
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 at linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
---
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
More information about the Openembedded-commits
mailing list