commit | 9f0dd71b8a565183a1137431d947d389e601fb62 | [log] [tgz] |
---|---|---|
author | Frederick Mayle <fmayle@google.com> | Wed Aug 17 20:34:26 2022 +0000 |
committer | Frederick Mayle <fmayle@google.com> | Wed Aug 17 20:36:45 2022 +0000 |
tree | 47825fcc1fad1e4aeb5b1bbc72120712a022d901 | |
parent | b1d8a2de5f1d0d50e23f198a9595d1a1559078c9 [diff] |
cargo2android: fix test detection when there is exactly 1 test Example where it failed: tests::sock_send_recv_event: test 1 test, 0 benchmarks Doc-tests vm_control 0 tests, 0 benchmarks the "1 test, 0 benchmarks" line wouldn't match the test regex, so it would mistakenly parse the doc tests line instead and then fail to generate a rust_test module. Test: ran on crosvm repo Change-Id: Id0286165405b58bf84b7261db842e272442c91e8