aboutsummaryrefslogtreecommitdiffhomepage
path: root/templates/tools/run_tests
diff options
context:
space:
mode:
authorGravatar Craig Tiller <ctiller@google.com>2015-04-08 15:52:35 -0700
committerGravatar Craig Tiller <ctiller@google.com>2015-04-08 15:52:35 -0700
commitd625d81e9b8179d0da2dacf66981662fb24565c7 (patch)
treeb71bafa31d9d1a46909c80077576d4c0e2191db7 /templates/tools/run_tests
parent95cd750989777d6d3851be7734f00091b624400d (diff)
Allow restricting platforms for certain tests
Diffstat (limited to 'templates/tools/run_tests')
-rw-r--r--templates/tools/run_tests/tests.json.template1
1 files changed, 1 insertions, 0 deletions
diff --git a/templates/tools/run_tests/tests.json.template b/templates/tools/run_tests/tests.json.template
index 6d7520bc0f..113eebe4a5 100644
--- a/templates/tools/run_tests/tests.json.template
+++ b/templates/tools/run_tests/tests.json.template
@@ -4,6 +4,7 @@ import json
${json.dumps([{"name": tgt.name,
"language": tgt.language,
+ "platforms": tgt.get("platforms", ["windows", "posix"]),
"flaky": tgt.get("flaky", False)}
for tgt in targets
if tgt.get('run', True) and tgt.build == 'test'],