3.1.29.2.12. waf_tools.mock.Runner
- class waf_tools.mock.Runner(*k, **kw)
Bases:
TaskTask that generates Unity test runner source files.
Invokes
generate_test_runner.rbto produce a<test>_Runner.cfile containing the Unitymain()entry point that discovers and runs all test functions in the test source file.- run() int
Execute
generate_test_runner.rbto generate the runner file.- Returns:
The exit code of the runner generation command.
- scan() tuple[list[Node], list[Node]]
Register the global Unity configuration file as a dependency.
- Returns:
A tuple of (dependency nodes, empty list). The global
bld.unity_cfgnode is included so that changes to the Unity configuration trigger a rebuild.