Lines Matching refs:toolchain

42 #   toolchain: See ALL_TOOLCHAINS above.
48 # {'name': ('pi_generator', 'input_event'), 'toolchain': ('newlib', 'pnacl')}
70 {'name': 'nacl_io_test', 'platform': 'win', 'toolchain': 'glibc'},
81 buildbot_common.ErrorExit('Invalid toolchain(s): %s' % (
97 def GetExecutableDirForProject(desc, toolchain, config):
98 return os.path.join(GetServingDirForProject(desc), toolchain, config)
101 def GetBrowserTesterCommand(desc, toolchain, config):
123 if toolchain == platform:
124 exe_dir = GetExecutableDirForProject(desc, toolchain, config)
135 if toolchain == 'pnacl':
139 url += '?tc=%s&config=%s&test=true' % (toolchain, config)
156 def RunTestOnce(desc, toolchain, config):
157 args = GetBrowserTesterCommand(desc, toolchain, config)
169 def RunTestNTimes(desc, toolchain, config, times):
172 result, elapsed = RunTestOnce(desc, toolchain, config)
180 def RunTestWithGtestOutput(desc, toolchain, config, retry_on_failure_times):
181 test_name = GetTestName(desc, toolchain, config)
183 result, elapsed = RunTestNTimes(desc, toolchain, config,
205 def GetTestName(desc, toolchain, config):
206 return '%s.%s_%s_test' % (desc['NAME'], toolchain, config.lower())
209 def IsTestDisabled(desc, toolchain, config):
224 'toolchain': toolchain,
255 for toolchain in sorted(valid_toolchains):
257 test_name = GetTestName(desc, toolchain, config)
259 if IsTestDisabled(desc, toolchain, config):
264 success = RunTestWithGtestOutput(desc, toolchain, config,
293 for toolchain in sorted(valid_toolchains):
298 args=['TOOLCHAIN=%s' % toolchain])
318 parser.add_option('-t', '--toolchain',
319 help='Run using toolchain. Can be passed more than once.',
332 if not options.toolchain:
333 options.toolchain = ['newlib', 'glibc', 'pnacl', 'host']
335 if 'host' in options.toolchain:
336 options.toolchain.remove('host')
337 options.toolchain.append(platform)
340 ValidateToolchains(options.toolchain)
343 if options.toolchain:
344 include['TOOLS'] = options.toolchain
345 print 'Filter by toolchain: ' + str(options.toolchain)
359 BuildAllTestsInTree(project_tree, options.toolchain, options.config)
361 return RunAllTestsInTree(project_tree, options.toolchain, options.config,