commit | f2b06d8afc1db5eb7b4fcb42052e47d299402fbf | [log] [tgz] |
---|---|---|
author | Frederick Mayle <fmayle@google.com> | Wed Oct 25 16:45:29 2023 -0700 |
committer | Frederick Mayle <fmayle@google.com> | Thu Oct 26 02:09:00 2023 +0000 |
tree | 0a344a464a5e22e63ff9ed6e4a6ee87d633661f6 | |
parent | 26c05cc1077af199b7fd75969f273471f845a24c [diff] |
fix empty test detection for cargo workspaces The main src file path is relative to a crate's root dir. Nearly all the crates in a workspace have the same path for their tests (src/lib.rs). Thankfully the package name is included in the log, so we can use it to differentiate. Bug: 242733327 Test: run on crosvm and see some empty tests get trimmed from Android.bp files Change-Id: I0ed17a05bfcccb78557ac10a818bf8640eefea7d