summaryrefslogtreecommitdiffstats
path: root/meta/lib/oeqa/oetest.py
diff options
context:
space:
mode:
Diffstat (limited to 'meta/lib/oeqa/oetest.py')
-rw-r--r--meta/lib/oeqa/oetest.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/meta/lib/oeqa/oetest.py b/meta/lib/oeqa/oetest.py
index 0fe68d4d52..a6f89b6a86 100644
--- a/meta/lib/oeqa/oetest.py
+++ b/meta/lib/oeqa/oetest.py
@@ -151,6 +151,12 @@ class oeRuntimeTest(oeTest):
151 elif (type(self.target).__name__ == "QemuTarget"): 151 elif (type(self.target).__name__ == "QemuTarget"):
152 self.assertTrue(self.target.check(), msg = "Qemu not running?") 152 self.assertTrue(self.target.check(), msg = "Qemu not running?")
153 153
154 self.setUpLocal()
155
156 # a setup method before tests but after the class instantiation
157 def setUpLocal(self):
158 pass
159
154 def tearDown(self): 160 def tearDown(self):
155 # If a test fails or there is an exception 161 # If a test fails or there is an exception
156 if not exc_info() == (None, None, None): 162 if not exc_info() == (None, None, None):