compilers for C,C++

pull/5369/head
Jan Tattermusch 9 years ago
parent 77db432c2d
commit c96caf8733
  1. 13
      tools/run_tests/run_tests.py

@ -134,12 +134,11 @@ class CLanguage(object):
self.config = config self.config = config
self.args = args self.args = args
if self.platform == 'windows': if self.platform == 'windows':
_check_compiler(self.args.compiler, ['default', self._make_options = [_windows_toolset_option(self.args.compiler),
'vs2010', _windows_arch_option(self.args.arch)]
'vs2013',
'vs2015'])
else: else:
_check_compiler(self.args.compiler, ['default']) _check_compiler(self.args.compiler, ['default'])
self._make_options = []
def test_specs(self): def test_specs(self):
out = [] out = []
@ -179,7 +178,7 @@ class CLanguage(object):
return ['buildtests_%s' % self.make_target, 'tools_%s' % self.make_target] return ['buildtests_%s' % self.make_target, 'tools_%s' % self.make_target]
def make_options(self): def make_options(self):
return [] return self._make_options;
def pre_build_steps(self): def pre_build_steps(self):
if self.platform == 'windows': if self.platform == 'windows':
@ -844,9 +843,7 @@ def make_jobspec(cfg, targets, makefile='Makefile'):
return [ return [
jobset.JobSpec([_windows_build_bat(args.compiler), jobset.JobSpec([_windows_build_bat(args.compiler),
'vsprojects\\%s.sln' % target, 'vsprojects\\%s.sln' % target,
'/p:Configuration=%s' % _WINDOWS_CONFIG[cfg], '/p:Configuration=%s' % _WINDOWS_CONFIG[cfg]] +
_windows_toolset_option(args.compiler),
_windows_arch_option(args.arch)] +
extra_args + extra_args +
language_make_options, language_make_options,
shell=True, timeout_seconds=None) shell=True, timeout_seconds=None)

Loading…
Cancel
Save