aboutsummaryrefslogtreecommitdiffhomepage
path: root/templates/tools/run_tests
diff options
context:
space:
mode:
authorGravatar Craig Tiller <ctiller@google.com>2015-04-08 15:57:17 -0700
committerGravatar Craig Tiller <ctiller@google.com>2015-04-08 15:57:17 -0700
commit0ff7e692b0070bf8da1a6e983ce58bbf9cc003e8 (patch)
tree8fa7873653d361dbc3e8b33d6da30c1b45420547 /templates/tools/run_tests
parentd625d81e9b8179d0da2dacf66981662fb24565c7 (diff)
Better defaulting of attributes
Diffstat (limited to 'templates/tools/run_tests')
-rw-r--r--templates/tools/run_tests/tests.json.template4
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)}