зеркало из https://github.com/mozilla/gecko-dev.git
bug 470415 - call exanduser on mochitest logfile argument. r=ted
This commit is contained in:
Родитель
0d716981d6
Коммит
e03292ed3a
|
@ -333,7 +333,8 @@ Are you executing $objdir/_tests/testing/mochitest/runtests.py?"""
|
|||
|
||||
# allow relative paths for logFile
|
||||
if options.logFile:
|
||||
options.logFile = os.path.normpath(os.path.join(oldcwd, options.logFile))
|
||||
logpath = os.path.join(oldcwd, os.path.expanduser(options.logFile))
|
||||
options.logFile = os.path.normpath(logpath)
|
||||
if options.browserChrome:
|
||||
makeTestConfig(options)
|
||||
else:
|
||||
|
|
Загрузка…
Ссылка в новой задаче