diff options
Diffstat (limited to 'meta/lib/oeqa/core/utils/concurrencytest.py')
-rw-r--r-- | meta/lib/oeqa/core/utils/concurrencytest.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/lib/oeqa/core/utils/concurrencytest.py b/meta/lib/oeqa/core/utils/concurrencytest.py index 6bf7718863..5f10267f70 100644 --- a/meta/lib/oeqa/core/utils/concurrencytest.py +++ b/meta/lib/oeqa/core/utils/concurrencytest.py | |||
@@ -199,7 +199,7 @@ def fork_for_tests(concurrency_num, suite): | |||
199 | oe.path.copytree(selftestdir, newselftestdir) | 199 | oe.path.copytree(selftestdir, newselftestdir) |
200 | 200 | ||
201 | for e in os.environ: | 201 | for e in os.environ: |
202 | if builddir in os.environ[e]: | 202 | if builddir + "/" in os.environ[e] or os.environ[e].endswith(builddir): |
203 | os.environ[e] = os.environ[e].replace(builddir, newbuilddir) | 203 | os.environ[e] = os.environ[e].replace(builddir, newbuilddir) |
204 | 204 | ||
205 | subprocess.check_output("git init; git add *; git commit -a -m 'initial'", cwd=newselftestdir, shell=True) | 205 | subprocess.check_output("git init; git add *; git commit -a -m 'initial'", cwd=newselftestdir, shell=True) |