зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1343716 - Use Windows style paths for TOOLTOOL_CACHE. r=mshal
Currently, tooltool is a python script, but when called from mozharness, it's wrapped with a shell script. What happens is that mozharness gets the msys-style paths, passes them to the shell script, then the shell script calls the python tooltool, and the transition msys->win32 makes that call use windows style paths. For bug 1313111, I want to replace tooltool with a mach command, and the shell script would go away. Calling a mach command (or python tooltool, for that matter) directly from mozharness with a msys-style path doesn't work. OTOH, calling the current shell script with a Windows style path (with forward slashes, for good measure) does work, and is future-proof. --HG-- extra : rebase_source : 3cb28d2352fbc2dcac96ae740c5f1aaa0e4a5f0f
This commit is contained in:
Родитель
3298568334
Коммит
3e41e4e1bd
|
@ -74,7 +74,7 @@ config = {
|
|||
'PDBSTR_PATH': '/c/Program Files (x86)/Windows Kits/8.0/Debuggers/x64/srcsrv/pdbstr.exe',
|
||||
'PROPERTIES_FILE': os.path.join(os.getcwd(), 'buildprops.json'),
|
||||
'TINDERBOX_OUTPUT': '1',
|
||||
'TOOLTOOL_CACHE': '/c/builds/tooltool_cache',
|
||||
'TOOLTOOL_CACHE': 'c:/builds/tooltool_cache',
|
||||
'TOOLTOOL_HOME': '/c/builds',
|
||||
},
|
||||
'upload_env': {
|
||||
|
|
|
@ -72,7 +72,7 @@ config = {
|
|||
'PDBSTR_PATH': '/c/Program Files (x86)/Windows Kits/8.0/Debuggers/x64/srcsrv/pdbstr.exe',
|
||||
'PROPERTIES_FILE': os.path.join(os.getcwd(), 'buildprops.json'),
|
||||
'TINDERBOX_OUTPUT': '1',
|
||||
'TOOLTOOL_CACHE': '/c/builds/tooltool_cache',
|
||||
'TOOLTOOL_CACHE': 'c:/builds/tooltool_cache',
|
||||
'TOOLTOOL_HOME': '/c/builds',
|
||||
},
|
||||
'upload_env': {
|
||||
|
|
|
@ -30,7 +30,7 @@ config = {
|
|||
'PROPERTIES_FILE': os.path.join(os.getcwd(), 'buildprops.json'),
|
||||
'TINDERBOX_OUTPUT': '1',
|
||||
'XPCOM_DEBUG_BREAK': 'stack-and-abort',
|
||||
'TOOLTOOL_CACHE': '/c/builds/tooltool_cache',
|
||||
'TOOLTOOL_CACHE': 'c:/builds/tooltool_cache',
|
||||
'TOOLTOOL_HOME': '/c/builds',
|
||||
},
|
||||
'src_mozconfig': 'browser/config/mozconfigs/win32/add-on-devel',
|
||||
|
|
|
@ -32,7 +32,7 @@ config = {
|
|||
'PROPERTIES_FILE': os.path.join(os.getcwd(), 'buildprops.json'),
|
||||
'TINDERBOX_OUTPUT': '1',
|
||||
'XPCOM_DEBUG_BREAK': 'stack-and-abort',
|
||||
'TOOLTOOL_CACHE': '/c/builds/tooltool_cache',
|
||||
'TOOLTOOL_CACHE': 'c:/builds/tooltool_cache',
|
||||
'TOOLTOOL_HOME': '/c/builds',
|
||||
},
|
||||
'src_mozconfig': 'browser/config/mozconfigs/win32/debug',
|
||||
|
|
|
@ -36,7 +36,7 @@ clang.manifest",
|
|||
'PROPERTIES_FILE': os.path.join(os.getcwd(), 'buildprops.json'),
|
||||
'TINDERBOX_OUTPUT': '1',
|
||||
'XPCOM_DEBUG_BREAK': 'stack-and-abort',
|
||||
'TOOLTOOL_CACHE': '/c/builds/tooltool_cache',
|
||||
'TOOLTOOL_CACHE': 'c:/builds/tooltool_cache',
|
||||
'TOOLTOOL_HOME': '/c/builds',
|
||||
},
|
||||
'src_mozconfig': 'browser/config/mozconfigs/win32/debug-static-analysis',
|
||||
|
|
|
@ -29,7 +29,7 @@ config = {
|
|||
'PROPERTIES_FILE': os.path.join(os.getcwd(), 'buildprops.json'),
|
||||
'TINDERBOX_OUTPUT': '1',
|
||||
'XPCOM_DEBUG_BREAK': 'stack-and-abort',
|
||||
'TOOLTOOL_CACHE': '/c/builds/tooltool_cache',
|
||||
'TOOLTOOL_CACHE': 'c:/builds/tooltool_cache',
|
||||
'TOOLTOOL_HOME': '/c/builds',
|
||||
},
|
||||
'src_mozconfig': 'browser/config/mozconfigs/win64/add-on-devel',
|
||||
|
|
|
@ -31,7 +31,7 @@ config = {
|
|||
'PROPERTIES_FILE': os.path.join(os.getcwd(), 'buildprops.json'),
|
||||
'TINDERBOX_OUTPUT': '1',
|
||||
'XPCOM_DEBUG_BREAK': 'stack-and-abort',
|
||||
'TOOLTOOL_CACHE': '/c/builds/tooltool_cache',
|
||||
'TOOLTOOL_CACHE': 'c:/builds/tooltool_cache',
|
||||
'TOOLTOOL_HOME': '/c/builds',
|
||||
},
|
||||
'src_mozconfig': 'browser/config/mozconfigs/win64/debug',
|
||||
|
|
|
@ -74,7 +74,7 @@ config = {
|
|||
'MOZ_OBJDIR': 'obj-firefox',
|
||||
'PDBSTR_PATH': '/c/Program Files (x86)/Windows Kits/10/Debuggers/x86/srcsrv/pdbstr.exe',
|
||||
'TINDERBOX_OUTPUT': '1',
|
||||
'TOOLTOOL_CACHE': '/c/builds/tooltool_cache',
|
||||
'TOOLTOOL_CACHE': 'c:/builds/tooltool_cache',
|
||||
'TOOLTOOL_HOME': '/c/builds',
|
||||
'MSYSTEM': 'MINGW32',
|
||||
},
|
||||
|
|
|
@ -75,7 +75,7 @@ config = {
|
|||
'MOZ_OBJDIR': 'obj-firefox',
|
||||
'PDBSTR_PATH': '/c/Program Files (x86)/Windows Kits/10/Debuggers/x86/srcsrv/pdbstr.exe',
|
||||
'TINDERBOX_OUTPUT': '1',
|
||||
'TOOLTOOL_CACHE': '/c/builds/tooltool_cache',
|
||||
'TOOLTOOL_CACHE': 'c:/builds/tooltool_cache',
|
||||
'TOOLTOOL_HOME': '/c/builds',
|
||||
'XPCOM_DEBUG_BREAK': 'stack-and-abort',
|
||||
'MSYSTEM': 'MINGW32',
|
||||
|
|
|
@ -76,7 +76,7 @@ config = {
|
|||
'MOZ_OBJDIR': 'obj-firefox',
|
||||
'PDBSTR_PATH': '/c/Program Files (x86)/Windows Kits/10/Debuggers/x86/srcsrv/pdbstr.exe',
|
||||
'TINDERBOX_OUTPUT': '1',
|
||||
'TOOLTOOL_CACHE': '/c/builds/tooltool_cache',
|
||||
'TOOLTOOL_CACHE': 'c:/builds/tooltool_cache',
|
||||
'TOOLTOOL_HOME': '/c/builds',
|
||||
'XPCOM_DEBUG_BREAK': 'stack-and-abort',
|
||||
'MSYSTEM': 'MINGW32',
|
||||
|
|
|
@ -75,7 +75,7 @@ config = {
|
|||
'MOZ_OBJDIR': 'obj-firefox',
|
||||
'PDBSTR_PATH': '/c/Program Files (x86)/Windows Kits/10/Debuggers/x86/srcsrv/pdbstr.exe',
|
||||
'TINDERBOX_OUTPUT': '1',
|
||||
'TOOLTOOL_CACHE': '/c/builds/tooltool_cache',
|
||||
'TOOLTOOL_CACHE': 'c:/builds/tooltool_cache',
|
||||
'TOOLTOOL_HOME': '/c/builds',
|
||||
'MSYSTEM': 'MINGW32',
|
||||
},
|
||||
|
|
|
@ -70,7 +70,7 @@ config = {
|
|||
'MOZ_OBJDIR': 'obj-firefox',
|
||||
'PDBSTR_PATH': '/c/Program Files (x86)/Windows Kits/10/Debuggers/x64/srcsrv/pdbstr.exe',
|
||||
'TINDERBOX_OUTPUT': '1',
|
||||
'TOOLTOOL_CACHE': '/c/builds/tooltool_cache',
|
||||
'TOOLTOOL_CACHE': 'c:/builds/tooltool_cache',
|
||||
'TOOLTOOL_HOME': '/c/builds',
|
||||
'MSYSTEM': 'MINGW32',
|
||||
},
|
||||
|
|
|
@ -71,7 +71,7 @@ config = {
|
|||
'MOZ_OBJDIR': 'obj-firefox',
|
||||
'PDBSTR_PATH': '/c/Program Files (x86)/Windows Kits/10/Debuggers/x64/srcsrv/pdbstr.exe',
|
||||
'TINDERBOX_OUTPUT': '1',
|
||||
'TOOLTOOL_CACHE': '/c/builds/tooltool_cache',
|
||||
'TOOLTOOL_CACHE': 'c:/builds/tooltool_cache',
|
||||
'TOOLTOOL_HOME': '/c/builds',
|
||||
'XPCOM_DEBUG_BREAK': 'stack-and-abort',
|
||||
'MSYSTEM': 'MINGW32',
|
||||
|
|
|
@ -67,7 +67,7 @@ config = {
|
|||
'MOZ_OBJDIR': 'obj-firefox',
|
||||
'PDBSTR_PATH': '/c/Program Files (x86)/Windows Kits/10/Debuggers/x64/srcsrv/pdbstr.exe',
|
||||
'TINDERBOX_OUTPUT': '1',
|
||||
'TOOLTOOL_CACHE': '/c/builds/tooltool_cache',
|
||||
'TOOLTOOL_CACHE': 'c:/builds/tooltool_cache',
|
||||
'TOOLTOOL_HOME': '/c/builds',
|
||||
'XPCOM_DEBUG_BREAK': 'stack-and-abort',
|
||||
'MSYSTEM': 'MINGW32',
|
||||
|
|
|
@ -66,7 +66,7 @@ config = {
|
|||
'MOZ_OBJDIR': 'obj-firefox',
|
||||
'PDBSTR_PATH': '/c/Program Files (x86)/Windows Kits/10/Debuggers/x64/srcsrv/pdbstr.exe',
|
||||
'TINDERBOX_OUTPUT': '1',
|
||||
'TOOLTOOL_CACHE': '/c/builds/tooltool_cache',
|
||||
'TOOLTOOL_CACHE': 'c:/builds/tooltool_cache',
|
||||
'TOOLTOOL_HOME': '/c/builds',
|
||||
'MSYSTEM': 'MINGW32',
|
||||
},
|
||||
|
|
|
@ -75,7 +75,7 @@ config = {
|
|||
'MOZ_OBJDIR': 'obj-firefox',
|
||||
'PDBSTR_PATH': '/c/Program Files (x86)/Windows Kits/10/Debuggers/x86/srcsrv/pdbstr.exe',
|
||||
'TINDERBOX_OUTPUT': '1',
|
||||
'TOOLTOOL_CACHE': '/c/builds/tooltool_cache',
|
||||
'TOOLTOOL_CACHE': 'c:/builds/tooltool_cache',
|
||||
'TOOLTOOL_HOME': '/c/builds',
|
||||
'MSYSTEM': 'MINGW32',
|
||||
},
|
||||
|
|
|
@ -76,7 +76,7 @@ config = {
|
|||
'MOZ_OBJDIR': 'obj-firefox',
|
||||
'PDBSTR_PATH': '/c/Program Files (x86)/Windows Kits/10/Debuggers/x86/srcsrv/pdbstr.exe',
|
||||
'TINDERBOX_OUTPUT': '1',
|
||||
'TOOLTOOL_CACHE': '/c/builds/tooltool_cache',
|
||||
'TOOLTOOL_CACHE': 'c:/builds/tooltool_cache',
|
||||
'TOOLTOOL_HOME': '/c/builds',
|
||||
'XPCOM_DEBUG_BREAK': 'stack-and-abort',
|
||||
'MSYSTEM': 'MINGW32',
|
||||
|
|
|
@ -75,7 +75,7 @@ config = {
|
|||
'MOZ_OBJDIR': 'obj-firefox',
|
||||
'PDBSTR_PATH': '/c/Program Files (x86)/Windows Kits/10/Debuggers/x86/srcsrv/pdbstr.exe',
|
||||
'TINDERBOX_OUTPUT': '1',
|
||||
'TOOLTOOL_CACHE': '/c/builds/tooltool_cache',
|
||||
'TOOLTOOL_CACHE': 'c:/builds/tooltool_cache',
|
||||
'TOOLTOOL_HOME': '/c/builds',
|
||||
'MSYSTEM': 'MINGW32',
|
||||
},
|
||||
|
|
|
@ -72,7 +72,7 @@ config = {
|
|||
'MOZ_OBJDIR': 'obj-firefox',
|
||||
'PDBSTR_PATH': '/c/Program Files (x86)/Windows Kits/10/Debuggers/x64/srcsrv/pdbstr.exe',
|
||||
'TINDERBOX_OUTPUT': '1',
|
||||
'TOOLTOOL_CACHE': '/c/builds/tooltool_cache',
|
||||
'TOOLTOOL_CACHE': 'c:/builds/tooltool_cache',
|
||||
'TOOLTOOL_HOME': '/c/builds',
|
||||
'MSYSTEM': 'MINGW32',
|
||||
},
|
||||
|
|
|
@ -72,7 +72,7 @@ config = {
|
|||
'MOZ_OBJDIR': 'obj-firefox',
|
||||
'PDBSTR_PATH': '/c/Program Files (x86)/Windows Kits/10/Debuggers/x64/srcsrv/pdbstr.exe',
|
||||
'TINDERBOX_OUTPUT': '1',
|
||||
'TOOLTOOL_CACHE': '/c/builds/tooltool_cache',
|
||||
'TOOLTOOL_CACHE': 'c:/builds/tooltool_cache',
|
||||
'TOOLTOOL_HOME': '/c/builds',
|
||||
'XPCOM_DEBUG_BREAK': 'stack-and-abort',
|
||||
'MSYSTEM': 'MINGW32',
|
||||
|
|
|
@ -71,7 +71,7 @@ config = {
|
|||
'MOZ_OBJDIR': 'obj-firefox',
|
||||
'PDBSTR_PATH': '/c/Program Files (x86)/Windows Kits/10/Debuggers/x64/srcsrv/pdbstr.exe',
|
||||
'TINDERBOX_OUTPUT': '1',
|
||||
'TOOLTOOL_CACHE': '/c/builds/tooltool_cache',
|
||||
'TOOLTOOL_CACHE': 'c:/builds/tooltool_cache',
|
||||
'TOOLTOOL_HOME': '/c/builds',
|
||||
'MSYSTEM': 'MINGW32',
|
||||
},
|
||||
|
|
|
@ -16,7 +16,7 @@ config = {
|
|||
"MOZ_MAKE_COMPLETE_MAR": "1",
|
||||
"PATH": 'C:\\mozilla-build\\nsis-3.0b1;'
|
||||
'%s' % (os.environ.get('path')),
|
||||
'TOOLTOOL_CACHE': '/c/builds/tooltool_cache',
|
||||
'TOOLTOOL_CACHE': 'c:/builds/tooltool_cache',
|
||||
'TOOLTOOL_HOME': '/c/builds',
|
||||
},
|
||||
"ssh_key_dir": "~/.ssh",
|
||||
|
|
|
@ -16,7 +16,7 @@ config = {
|
|||
"MOZ_MAKE_COMPLETE_MAR": "1",
|
||||
"PATH": 'C:\\mozilla-build\\nsis-3.0b1;'
|
||||
'%s' % (os.environ.get('path')),
|
||||
'TOOLTOOL_CACHE': '/c/builds/tooltool_cache',
|
||||
'TOOLTOOL_CACHE': 'c:/builds/tooltool_cache',
|
||||
'TOOLTOOL_HOME': '/c/builds',
|
||||
},
|
||||
"ssh_key_dir": "~/.ssh",
|
||||
|
|
Загрузка…
Ссылка в новой задаче