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, 5 insertions, 1 deletions
diff --git a/meta/lib/oeqa/oetest.py b/meta/lib/oeqa/oetest.py
index ff62c30268..0fe68d4d52 100644
--- a/meta/lib/oeqa/oetest.py
+++ b/meta/lib/oeqa/oetest.py
@@ -145,7 +145,11 @@ class oeRuntimeTest(oeTest):
145 super(oeRuntimeTest, self).__init__(methodName) 145 super(oeRuntimeTest, self).__init__(methodName)
146 146
147 def setUp(self): 147 def setUp(self):
148 self.assertTrue(self.target.check(), msg = "Qemu not running?") 148 # Check if test needs to run
149 if self.tc.sigterm:
150 self.fail("Got SIGTERM")
151 elif (type(self.target).__name__ == "QemuTarget"):
152 self.assertTrue(self.target.check(), msg = "Qemu not running?")
149 153
150 def tearDown(self): 154 def tearDown(self):
151 # If a test fails or there is an exception 155 # If a test fails or there is an exception