зеркало из https://github.com/mozilla/gecko-dev.git
Bug 670016 - Only append a -bin suffix if app-bin exists. This makes it possible to test Fennec on Mac. r=ted
This commit is contained in:
Родитель
258e2e65e5
Коммит
3f2652249b
|
@ -792,10 +792,11 @@ user_pref("camino.use_system_proxy_settings", false); // Camino-only, harmless t
|
|||
def buildCommandLine(self, app, debuggerInfo, profileDir, testURL, extraArgs):
|
||||
""" build the application command line """
|
||||
|
||||
cmd = app
|
||||
if self.IS_MAC and not self.IS_CAMINO and not cmd.endswith("-bin"):
|
||||
cmd = os.path.abspath(app)
|
||||
if self.IS_MAC and not self.IS_CAMINO and os.path.exists(cmd + "-bin"):
|
||||
# Prefer 'app-bin' in case 'app' is a shell script.
|
||||
# We can remove this hack once bug 673899 etc are fixed.
|
||||
cmd += "-bin"
|
||||
cmd = os.path.abspath(cmd)
|
||||
|
||||
args = []
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче