diff options
Diffstat (limited to 'templates/tools/run_tests/generated/tests.json.template')
-rw-r--r-- | templates/tools/run_tests/generated/tests.json.template | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/templates/tools/run_tests/generated/tests.json.template b/templates/tools/run_tests/generated/tests.json.template new file mode 100644 index 0000000000..1e21465dd2 --- /dev/null +++ b/templates/tools/run_tests/generated/tests.json.template @@ -0,0 +1,20 @@ +%YAML 1.2 +--- | + <%! + import json + %> + + ${json.dumps([{"name": tgt.name, + "language": tgt.language, + "platforms": tgt.platforms, + "ci_platforms": tgt.ci_platforms, + "gtest": tgt.gtest, + "exclude_configs": tgt.get("exclude_configs", []), + "exclude_iomgrs": tgt.get("exclude_iomgrs", []), + "args": [], + "flaky": tgt.flaky, + "cpu_cost": tgt.get("cpu_cost", 1.0)} + for tgt in targets + if tgt.get('run', True) and tgt.build == 'test'] + + tests, + sort_keys=True, indent=2)} |