aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGravatar murgatroid99 <mlumish@google.com>2015-09-22 09:20:11 -0700
committerGravatar murgatroid99 <mlumish@google.com>2015-09-22 09:20:11 -0700
commitfddac9632ad695bdf0279de95fedd54177591484 (patch)
tree367baabc4282a8aed1e87a6ac32e3d938c53995e
parent89899b1708503fa79bdb2f488e4ce540e348aece (diff)
Fixed more style issues
-rwxr-xr-xtools/run_tests/run_tests.py6
1 files changed, 2 insertions, 4 deletions
diff --git a/tools/run_tests/run_tests.py b/tools/run_tests/run_tests.py
index f4bdddb325..4f8aad4931 100755
--- a/tools/run_tests/run_tests.py
+++ b/tools/run_tests/run_tests.py
@@ -180,8 +180,7 @@ def gyp_test_paths(travis, config=None):
binaries = get_c_tests(travis, 'c')
out = []
for target in binaries:
- if config is not None:
- if config.build_config in target['exclude_configs']:
+ if config is not None and config.build_config in target['exclude_configs']:
continue
binary = 'out/Debug/%s' % target['name']
out.append(binary)
@@ -568,8 +567,7 @@ else:
make_targets = list(set(itertools.chain.from_iterable(
l.make_targets() for l in languages)))
-build_steps = []
-build_steps.extend(set(
+build_steps = list(set(
jobset.JobSpec(cmdline, environ={'CONFIG': cfg})
for cfg in build_configs
for l in languages