Index: third_party/grpc/templates/tools/run_tests/tests.json.template |
diff --git a/third_party/grpc/templates/tools/run_tests/tests.json.template b/third_party/grpc/templates/tools/run_tests/tests.json.template |
new file mode 100644 |
index 0000000000000000000000000000000000000000..5690874415a585fa70fbc557e7fc2e5070082cf2 |
--- /dev/null |
+++ b/third_party/grpc/templates/tools/run_tests/tests.json.template |
@@ -0,0 +1,19 @@ |
+%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", []), |
+ "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)} |