diff options
Diffstat (limited to 'meta/lib/oeqa/oetest.py')
-rw-r--r-- | meta/lib/oeqa/oetest.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/meta/lib/oeqa/oetest.py b/meta/lib/oeqa/oetest.py index 9724325083..ff62c30268 100644 --- a/meta/lib/oeqa/oetest.py +++ b/meta/lib/oeqa/oetest.py | |||
@@ -144,6 +144,9 @@ class oeRuntimeTest(oeTest): | |||
144 | self.target = oeRuntimeTest.tc.target | 144 | self.target = oeRuntimeTest.tc.target |
145 | super(oeRuntimeTest, self).__init__(methodName) | 145 | super(oeRuntimeTest, self).__init__(methodName) |
146 | 146 | ||
147 | def setUp(self): | ||
148 | self.assertTrue(self.target.check(), msg = "Qemu not running?") | ||
149 | |||
147 | def tearDown(self): | 150 | def tearDown(self): |
148 | # If a test fails or there is an exception | 151 | # If a test fails or there is an exception |
149 | if not exc_info() == (None, None, None): | 152 | if not exc_info() == (None, None, None): |