commit | 7cfc6fe5de180c7b4978f47e7e01e6f21945dbff | [log] [tgz] |
---|---|---|
author | Joel Galenson <jgalenson@google.com> | Thu Oct 14 13:09:32 2021 -0700 |
committer | Joel Galenson <jgalenson@google.com> | Fri Oct 15 13:35:41 2021 -0700 |
tree | fc06154c727eb3f0a9a3d1162e3608c74da978e6 | |
parent | f78de4f9428b3337e2edd86a9b3ae978d594f316 [diff] |
Do not generate empty Rust tests. cargo2android.py currently builds whatever cargo does, which includes empty tests. We can filter those out by parsing the output of "cargo test" and looking for things with no tests. Fixes: 159039990 Test: Run on a crate with empty integration tests, one with empty unit tests, and one with no empty tests. Change-Id: If8b1126d82ce6c2851b90de738ea24b129b81feb