diff options
Diffstat (limited to 'meta/lib/oeqa')
-rw-r--r-- | meta/lib/oeqa/core/utils/concurrencytest.py | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/meta/lib/oeqa/core/utils/concurrencytest.py b/meta/lib/oeqa/core/utils/concurrencytest.py index 0f7b3dcc11..71ec0df5fa 100644 --- a/meta/lib/oeqa/core/utils/concurrencytest.py +++ b/meta/lib/oeqa/core/utils/concurrencytest.py | |||
@@ -221,6 +221,15 @@ def removebuilddir(d): | |||
221 | while delay and os.path.exists(d + "/bitbake.lock"): | 221 | while delay and os.path.exists(d + "/bitbake.lock"): |
222 | time.sleep(1) | 222 | time.sleep(1) |
223 | delay = delay - 1 | 223 | delay = delay - 1 |
224 | # Deleting these directories takes a lot of time, use autobuilder | ||
225 | # clobberdir if its available | ||
226 | clobberdir = os.path.expanduser("~/yocto-autobuilder-helper/janitor/clobberdir") | ||
227 | if os.path.exists(clobberdir): | ||
228 | try: | ||
229 | subprocess.check_call([clobberdir, d]) | ||
230 | return | ||
231 | except subprocess.CalledProcessError: | ||
232 | pass | ||
224 | bb.utils.prunedir(d, ionice=True) | 233 | bb.utils.prunedir(d, ionice=True) |
225 | 234 | ||
226 | def fork_for_tests(concurrency_num, suite): | 235 | def fork_for_tests(concurrency_num, suite): |