fixes
This commit is contained in:
Родитель
613504469c
Коммит
1154b4f778
|
@ -14,7 +14,7 @@ def getInfo(path):
|
|||
elif info["binary"].endswith(".dmg"):
|
||||
info["platform"] = "osx"
|
||||
elif info["binary"].endswith(".exe"):
|
||||
info["platform"] = "win"
|
||||
info["platform"] = "windows"
|
||||
else:
|
||||
info["platform"] = "linux"
|
||||
|
||||
|
|
|
@ -57,7 +57,7 @@ class FirefoxExecutor(BrowserExecutor):
|
|||
"osx_mount_point": "/Volumes/Nightly",
|
||||
"osx_binary": "/Volumes/Nightly/Nightly.app/Contents/MacOS/firefox",
|
||||
"android_processname": "org.mozilla.fennec",
|
||||
"linux_processname": "firefox"
|
||||
"linux_processname": "firefox",
|
||||
"windows_processname": "firefox.exe"
|
||||
})
|
||||
|
||||
|
|
|
@ -88,6 +88,15 @@ class WindowsRunner(LinuxRunner):
|
|||
except:
|
||||
pass
|
||||
|
||||
def install(self, exe):
|
||||
path = os.path.dirname(exe)
|
||||
paths = subprocess.check_output(["find", path])
|
||||
paths = [path.rstrip() for path in paths.splitlines()]
|
||||
for path in paths:
|
||||
os.set_exec_bit(self, path)
|
||||
|
||||
return exe
|
||||
|
||||
class OSXRunner(Runner):
|
||||
def killall(self, name):
|
||||
print "killall", name
|
||||
|
|
Загрузка…
Ссылка в новой задаче