- Update pw_unit_test's pw_rpc server streaming call to the new API.
- Fix issue where the test runner would crash if the first test was
disabled.
- Add test that runs unit tests in a C++ binary from Python with the
unit test RPC server.
Change-Id: I11657c5813696e44b50e71aa6c2e62cc80635e1e
Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/55511
Pigweed-Auto-Submit: Wyatt Hepler <hepler@google.com>
Reviewed-by: Alexei Frolov <frolv@google.com>
Commit-Queue: Auto-Submit <auto-submit@pigweed.google.com.iam.gserviceaccount.com>
Marks the old pw::protobuf::Encoder as deprecated. For the interim, use
pigweed's new pw::protobuf::StreamingEncoder. The
pw::protobuf::MemoryEncoder will be renamed to replace the original
Encoder.
Bugs: 384
Change-Id: Ifbbf73af7c9b6cf5737c326ef10a4ecf70521adf
Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/46621
Reviewed-by: Wyatt Hepler <hepler@google.com>
Commit-Queue: Armando Montanez <amontanez@google.com>
This updates the unit test framework to accept an optional list of test
suites to run. If set, RUN_ALL_TESTS will only run test cases which
match the provided suites. Additionally, tracking of skipped and
disabled tests in a test run is added.
The unit test RPC service is also updated to accept a list of suites in
a test run request.
Change-Id: Ia1aefdcf2314c24431bff75378c30fcdfdd24c27
Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/40061
Commit-Queue: Alexei Frolov <frolv@google.com>
Reviewed-by: Keir Mierle <keir@google.com>
Reviewed-by: Joe Ethier <jethier@google.com>
This implements an RPC service that streams pw_unit_test events, as well
as a unit test main that initializes a server with the test service
registered and an HDLC serial channel.
Change-Id: I6c66f2216c54d82aa70c351d7d3d99d9a5c173de
Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/23901
Commit-Queue: Alexei Frolov <frolv@google.com>
Reviewed-by: Keir Mierle <keir@google.com>