跳转至

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 BUILD.gn.


最后更新: 2022 年 12 月 31 日(Saturday) 21:07 CST