summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/toaster/contrib/tts/runner.py
diff options
context:
space:
mode:
Diffstat (limited to 'bitbake/lib/toaster/contrib/tts/runner.py')
-rwxr-xr-xbitbake/lib/toaster/contrib/tts/runner.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/bitbake/lib/toaster/contrib/tts/runner.py b/bitbake/lib/toaster/contrib/tts/runner.py
index bed665196e..d01386acfa 100755
--- a/bitbake/lib/toaster/contrib/tts/runner.py
+++ b/bitbake/lib/toaster/contrib/tts/runner.py
@@ -146,7 +146,7 @@ def execute_tests(dir_under_test, testname):
146 146
147 except Exception as exc: 147 except Exception as exc:
148 import traceback 148 import traceback
149 config.logger.error("Exception while running test. Tracedump: \n%s", traceback.format_exc(exc)) 149 config.logger.error("Exception while running test. Tracedump: \n%s", traceback.format_exc())
150 finally: 150 finally:
151 os.chdir(crt_dir) 151 os.chdir(crt_dir)
152 return len(result.failures) 152 return len(result.failures)
@@ -211,7 +211,7 @@ def main():
211 211
212 except ShellCmdException as exc: 212 except ShellCmdException as exc:
213 import traceback 213 import traceback
214 config.logger.error("Error while setting up testing. Traceback: \n%s", traceback.format_exc(exc)) 214 config.logger.error("Error while setting up testing. Traceback: \n%s", traceback.format_exc())
215 finally: 215 finally:
216 if need_cleanup and testdir is not None: 216 if need_cleanup and testdir is not None:
217 clean_up(testdir) 217 clean_up(testdir)