Fixed some style issues

pull/3400/head
murgatroid99 9 years ago
parent 256d3dff68
commit fafeeb38c1
  1. 6
      tools/run_tests/run_tests.py

@ -132,6 +132,7 @@ def get_c_tests(travis, test_lang) :
not (travis and tgt['flaky'])] not (travis and tgt['flaky'])]
return binaries return binaries
class CLanguage(object): class CLanguage(object):
def __init__(self, make_target, test_lang): def __init__(self, make_target, test_lang):
@ -144,7 +145,7 @@ class CLanguage(object):
binaries = get_c_tests(travis, self.test_lang) binaries = get_c_tests(travis, self.test_lang)
for target in binaries: for target in binaries:
if config.build_config in tgt['exclude_configs']: if config.build_config in tgt['exclude_configs']:
continue; continue
if self.platform == 'windows': if self.platform == 'windows':
binary = 'vsprojects/%s/%s.exe' % ( binary = 'vsprojects/%s/%s.exe' % (
_WINDOWS_CONFIG[config.build_config], target['name']) _WINDOWS_CONFIG[config.build_config], target['name'])
@ -174,6 +175,7 @@ class CLanguage(object):
def __str__(self): def __str__(self):
return self.make_target return self.make_target
def gyp_test_paths(travis, config=None): def gyp_test_paths(travis, config=None):
binaries = get_c_tests(travis, 'c') binaries = get_c_tests(travis, 'c')
out = [] out = []
@ -185,6 +187,7 @@ def gyp_test_paths(travis, config=None):
out.append(binary) out.append(binary)
return sorted(out) return sorted(out)
class GYPCLanguage(object): class GYPCLanguage(object):
def test_specs(self, config, travis): def test_specs(self, config, travis):
@ -206,6 +209,7 @@ class GYPCLanguage(object):
def __str__(self): def __str__(self):
return 'gyp' return 'gyp'
class NodeLanguage(object): class NodeLanguage(object):
def test_specs(self, config, travis): def test_specs(self, config, travis):

Loading…
Cancel
Save