diff options
| -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 1a58d35ba0..3e0e5d770c 100644 --- a/meta/lib/oeqa/core/utils/concurrencytest.py +++ b/meta/lib/oeqa/core/utils/concurrencytest.py | |||
| @@ -194,7 +194,7 @@ def fork_for_tests(concurrency_num, suite): | |||
| 194 | oe.path.copytree(selftestdir, newselftestdir) | 194 | oe.path.copytree(selftestdir, newselftestdir) |
| 195 | 195 | ||
| 196 | for e in os.environ: | 196 | for e in os.environ: |
| 197 | if builddir in os.environ[e]: | 197 | if builddir + "/" in os.environ[e] or os.environ[e].endswith(builddir): |
| 198 | os.environ[e] = os.environ[e].replace(builddir, newbuilddir) | 198 | os.environ[e] = os.environ[e].replace(builddir, newbuilddir) |
| 199 | 199 | ||
| 200 | subprocess.check_output("git init; git add *; git commit -a -m 'initial'", cwd=newselftestdir, shell=True) | 200 | subprocess.check_output("git init; git add *; git commit -a -m 'initial'", cwd=newselftestdir, shell=True) |
