This commit is contained in:
Hannes Verschore 2015-11-26 21:59:21 +01:00
Родитель 613504469c
Коммит 1154b4f778
3 изменённых файлов: 11 добавлений и 2 удалений

Просмотреть файл

@ -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