tests.json.template 519 B

1234567891011121314151617
  1. %YAML 1.2
  2. --- |
  3. <%!
  4. import json
  5. %>
  6. ${json.dumps([{"name": tgt.name,
  7. "language": tgt.language,
  8. "platforms": tgt.platforms,
  9. "ci_platforms": tgt.ci_platforms,
  10. "exclude_configs": tgt.get("exclude_configs", []),
  11. "args": [],
  12. "flaky": tgt.flaky}
  13. for tgt in targets
  14. if tgt.get('run', True) and tgt.build == 'test'] +
  15. tests,
  16. sort_keys=True, indent=2)}