Google is committed to advancing racial equity for Black communities. See how.

Python testing

To define a host-side python test that can be run by fx, CI and CQ:

  • Use the python_host_test GN template.
  • Ensure some group("tests") depends on the python_host_test rule, and specify the ($host_toolchain) in the dependency.

Here is an example