forked from OSchip/llvm-project
[lldb/test] Start pexpect tests with a custom HOME
This addresses the flakyness of (at least) TestMultilineNavigation, which was failing when the editline history of a concurrently executing test made leaked in. Using a test-specific home directory ensures the tests are independent.
This commit is contained in:
parent
601102d282
commit
f22c63b41b
|
@ -36,7 +36,8 @@ class PExpectTest(TestBase):
|
|||
args.extend(extra_args)
|
||||
|
||||
env = dict(os.environ)
|
||||
env["TERM"]="vt100"
|
||||
env["TERM"] = "vt100"
|
||||
env["HOME"] = self.getBuildDir()
|
||||
|
||||
import pexpect
|
||||
self.child = pexpect.spawn(
|
||||
|
|
Loading…
Reference in New Issue