From 0ff7e692b0070bf8da1a6e983ce58bbf9cc003e8 Mon Sep 17 00:00:00 2001 From: Craig Tiller Date: Wed, 8 Apr 2015 15:57:17 -0700 Subject: Better defaulting of attributes --- templates/tools/run_tests/tests.json.template | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'templates/tools/run_tests') 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)} -- cgit v1.2.3