зеркало из https://github.com/mozilla/gecko-dev.git
Bug 749771 - Set HOME directory for Android xpcshell tests. r=jmaher
This commit is contained in:
Родитель
2bbee6ea06
Коммит
69d1d16d4e
|
@ -228,6 +228,7 @@ class XPCShellRemote(xpcshell.XPCShellTests, object):
|
||||||
env["GRE_HOME"]=self.appRoot
|
env["GRE_HOME"]=self.appRoot
|
||||||
env["XPCSHELL_TEST_PROFILE_DIR"]=self.profileDir
|
env["XPCSHELL_TEST_PROFILE_DIR"]=self.profileDir
|
||||||
env["TMPDIR"]=self.remoteTmpDir
|
env["TMPDIR"]=self.remoteTmpDir
|
||||||
|
env["HOME"]=self.profileDir
|
||||||
outputFile = "xpcshelloutput"
|
outputFile = "xpcshelloutput"
|
||||||
f = open(outputFile, "w+")
|
f = open(outputFile, "w+")
|
||||||
self.shellReturnCode = self.device.shell(cmd, f, cwd=self.remoteHere, env=env)
|
self.shellReturnCode = self.device.shell(cmd, f, cwd=self.remoteHere, env=env)
|
||||||
|
|
Загрузка…
Ссылка в новой задаче