Commit Graph

4 Commits

Author SHA1 Message Date
Alexei Frolov
4905eae6f8 Make pw_build_host_tools a build arg in host build
This defines pw_build_host_tools as a GN build arg, allowing it to be
toggled without changing the host target.

Change-Id: I9b053b26e4deffc04885015c6981496bb857ee33
2020-01-10 00:24:00 +00:00
Alexei Frolov
213060fd22
Move pw_build_host_tools var to host_common.gni
This change moves the pw_build_host_tools variable from host.gni to
host_common.gni, where it belongs.

Change-Id: I8f7188900344d9ce7cff33a99b8725d5347b9b02
2020-01-02 15:00:26 -08:00
Alexei Frolov
8403f0a2db Update test runner to run tests from metadata
This change adds functionality to the test runner script to search a
directory tree for generated test metadata files, build up a graph of
test groups, and run a user-specified list of groups with all of their
dependencies.

Tests are run through an external runner executable provided on the
command line. The executable is called with the path to a unit test
binary file.

The old test runner functionality to run a single test directly from its
binary path is maintained, but now uses a runner executable. This is
configured in GN using the build variable "pw_automatic_test_runner",
which replaces the functionality of "pw_unit_test_create_run_targets".

Change-Id: Ic1ed959d87a71266408e1f26e0ae1bf906eebfb0
2019-11-22 17:58:51 +00:00
Armando Montanez
68de071c7d Add pw_dumb_io with host backend
This change introduces the pw_dumb_io module, a module intended for
pigweed testing and bringup. pw_dumb_io includes a facade, and a backend
implementation using stdio (pw_dumb_io_stdio).

Change-Id: I5d9ca3c256c7e7c6d60cc07292aaead808a7f3dd
2019-11-16 00:14:15 +00:00