aboutsummaryrefslogtreecommitdiffhomepage
path: root/templates/tools/run_tests/tests.json.template
diff options
context:
space:
mode:
Diffstat (limited to 'templates/tools/run_tests/tests.json.template')
-rw-r--r--templates/tools/run_tests/tests.json.template28
1 files changed, 15 insertions, 13 deletions
diff --git a/templates/tools/run_tests/tests.json.template b/templates/tools/run_tests/tests.json.template
index 63046731de..655976ac86 100644
--- a/templates/tools/run_tests/tests.json.template
+++ b/templates/tools/run_tests/tests.json.template
@@ -1,13 +1,15 @@
-<%!
-import json
-%>
-
-${json.dumps([{"name": tgt.name,
- "language": tgt.language,
- "platforms": tgt.platforms,
- "ci_platforms": tgt.ci_platforms,
- "exclude_configs": tgt.get("exclude_configs", []),
- "flaky": tgt.flaky}
- for tgt in targets
- if tgt.get('run', True) and tgt.build == 'test'],
- sort_keys=True, indent=2)}
+%YAML 1.2
+--- |
+ <%!
+ import json
+ %>
+
+ ${json.dumps([{"name": tgt.name,
+ "language": tgt.language,
+ "platforms": tgt.platforms,
+ "ci_platforms": tgt.ci_platforms,
+ "exclude_configs": tgt.get("exclude_configs", []),
+ "flaky": tgt.flaky}
+ for tgt in targets
+ if tgt.get('run', True) and tgt.build == 'test'],
+ sort_keys=True, indent=2)}