summaryrefslogtreecommitdiffstats
path: root/bitbake/lib
diff options
context:
space:
mode:
Diffstat (limited to 'bitbake/lib')
-rwxr-xr-xbitbake/lib/toaster/contrib/tts/runner.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/bitbake/lib/toaster/contrib/tts/runner.py b/bitbake/lib/toaster/contrib/tts/runner.py
index 3fd1b66e64..6fc3e77523 100755
--- a/bitbake/lib/toaster/contrib/tts/runner.py
+++ b/bitbake/lib/toaster/contrib/tts/runner.py
@@ -200,6 +200,10 @@ def main():
200 testdir = set_up_test_branch(settings, args[0]) # we expect a branch name as first argument 200 testdir = set_up_test_branch(settings, args[0]) # we expect a branch name as first argument
201 201
202 config.TESTDIR = testdir # we let tests know where to run 202 config.TESTDIR = testdir # we let tests know where to run
203
204 # ensure that the test dir only contains no *.pyc leftovers
205 run_shell_cmd("find '%s' -type f -name *.pyc -exec rm {} \;" % testdir)
206
203 no_failures = execute_tests(testdir, options.singletest) 207 no_failures = execute_tests(testdir, options.singletest)
204 208
205 except ShellCmdException as exc: 209 except ShellCmdException as exc: