tree: 18dba6204a4e0f2b89810440176378bd4e122aa0 [path history] [tgz]
  1. .gitignore
  2. .vpython3
  3. __main__.py
  4. builders.py
  5. builders_test.py
  6. cipd.py
  7. output_adapter.py
  8. output_adapter_test.py
  9. OWNERS
  10. PRESUBMIT.py
  11. README.md
  12. recipe.py
  13. recipe_test.py
  14. run.py
  15. run_test.py
tools/utr/README.md

UTR - The Universal Test Runner

UTR is a tool that can locally compile and/or run tests the same way it‘s done on the bots. At its heart, it wraps the same codebase used by the bots to drive their builds, while bypassing parts that don’t make sense for developer's machines. This abstracts away pesky details that are hard to remember or discover on bots like:

  • GN args that may or may not prevent local reproduction
  • Full command line args for a test invocation
  • Precise OS version to target for remote tests

With this tool, all such details will automatically use what the given builder uses. See the Google-only design doc for further context.

Command-line Examples

TODO(crbug.com/41492687): Add use-case examples as support is rolled out.