Skip to content

Commit

Permalink
Windows tweak
Browse files Browse the repository at this point in the history
  • Loading branch information
ctiller committed Sep 1, 2015
1 parent d590482 commit bd4e378
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions tools/run_tests/run_tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -455,7 +455,6 @@ def runs_per_test_type(arg_str):
if args.travis:
_FORCE_ENVIRON_FOR_WRAPPERS = {'GRPC_TRACE': 'surface,batch'}

make_targets = []
languages = set(_LANGUAGES[l]
for l in itertools.chain.from_iterable(
_LANGUAGES.iterkeys() if x == 'all' else [x]
Expand All @@ -481,10 +480,12 @@ def make_jobspec(cfg, targets):
'CONFIG=%s' % cfg] + targets,
timeout_seconds=30*60)

build_steps = [make_jobspec(cfg,
list(set(itertools.chain.from_iterable(
l.make_targets() for l in languages))))
for cfg in build_configs]
make_targets = list(set(itertools.chain.from_iterable(
l.make_targets() for l in languages)))
build_steps = []
if make_targets:
build_steps.extend(set(make_jobspec(cfg, make_targets)
for cfg in build_configs))
build_steps.extend(set(
jobset.JobSpec(cmdline, environ={'CONFIG': cfg})
for cfg in build_configs
Expand Down

0 comments on commit bd4e378

Please sign in to comment.