Skip to content
Snippets Groups Projects
Commit fafeeb38 authored by murgatroid99's avatar murgatroid99
Browse files

Fixed some style issues

parent 256d3dff
No related branches found
No related tags found
No related merge requests found
...@@ -132,6 +132,7 @@ def get_c_tests(travis, test_lang) : ...@@ -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): ...@@ -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): ...@@ -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): ...@@ -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): ...@@ -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):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment