diff options
Diffstat (limited to 'meta')
-rw-r--r-- | meta/lib/oeqa/targetcontrol.py | 5 | ||||
-rw-r--r-- | meta/lib/oeqa/utils/commands.py | 5 |
2 files changed, 5 insertions, 5 deletions
diff --git a/meta/lib/oeqa/targetcontrol.py b/meta/lib/oeqa/targetcontrol.py index 2aa548e1ad..7bbba6016b 100644 --- a/meta/lib/oeqa/targetcontrol.py +++ b/meta/lib/oeqa/targetcontrol.py | |||
@@ -182,7 +182,10 @@ class QemuTarget(BaseTarget): | |||
182 | return self.runner.is_alive() | 182 | return self.runner.is_alive() |
183 | 183 | ||
184 | def stop(self): | 184 | def stop(self): |
185 | self.runner.stop() | 185 | try: |
186 | self.runner.stop() | ||
187 | except: | ||
188 | pass | ||
186 | self.logger.removeHandler(self.loggerhandler) | 189 | self.logger.removeHandler(self.loggerhandler) |
187 | self.connection = None | 190 | self.connection = None |
188 | self.ip = None | 191 | self.ip = None |
diff --git a/meta/lib/oeqa/utils/commands.py b/meta/lib/oeqa/utils/commands.py index f1679875dc..df373c4169 100644 --- a/meta/lib/oeqa/utils/commands.py +++ b/meta/lib/oeqa/utils/commands.py | |||
@@ -351,10 +351,7 @@ def runqemu(pn, ssh=True, runqemuparams='', image_fstype=None, launch_cmd=None, | |||
351 | 351 | ||
352 | finally: | 352 | finally: |
353 | targetlogger.removeHandler(handler) | 353 | targetlogger.removeHandler(handler) |
354 | try: | 354 | qemu.stop() |
355 | qemu.stop() | ||
356 | except: | ||
357 | pass | ||
358 | 355 | ||
359 | def updateEnv(env_file): | 356 | def updateEnv(env_file): |
360 | """ | 357 | """ |