diff options
author | Craig Tiller <ctiller@google.com> | 2015-04-08 15:57:17 -0700 |
---|---|---|
committer | Craig Tiller <ctiller@google.com> | 2015-04-08 15:57:17 -0700 |
commit | 0ff7e692b0070bf8da1a6e983ce58bbf9cc003e8 (patch) | |
tree | 8fa7873653d361dbc3e8b33d6da30c1b45420547 /templates/tools/run_tests | |
parent | d625d81e9b8179d0da2dacf66981662fb24565c7 (diff) |
Better defaulting of attributes
Diffstat (limited to 'templates/tools/run_tests')
-rw-r--r-- | templates/tools/run_tests/tests.json.template | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/tools/run_tests/tests.json.template b/templates/tools/run_tests/tests.json.template index 113eebe4a5..337858d9f1 100644 --- a/templates/tools/run_tests/tests.json.template +++ b/templates/tools/run_tests/tests.json.template @@ -4,8 +4,8 @@ import json ${json.dumps([{"name": tgt.name, "language": tgt.language, - "platforms": tgt.get("platforms", ["windows", "posix"]), - "flaky": tgt.get("flaky", False)} + "platforms": tgt.platforms, + "flaky": tgt.flaky} for tgt in targets if tgt.get('run', True) and tgt.build == 'test'], sort_keys=True, indent=2)} |