summaryrefslogtreecommitdiff
path: root/tests/unit/java/android/net/NetworkStatsHistoryTest.java
diff options
context:
space:
mode:
authorLorenzo Colitti <lorenzo@google.com>2022-02-07 09:01:37 +0900
committerRemi NGUYEN VAN <reminv@google.com>2022-02-07 02:16:34 +0000
commit0db496ef3913fc19a2280780fd03e6fdd92c2fb6 (patch)
treee4f0789a3e17b61171cb3e720dac846a2aa2b331 /tests/unit/java/android/net/NetworkStatsHistoryTest.java
parenta7d4766d0d02de38c9a44f9a3549cd5c64dd7689 (diff)
Fix libnetworkstats_test.
If libraries are moved from the platform to a module, the test will fail with: CANNOT LINK EXECUTABLE "/data/local/tmp/libnetworkstats_test/arm64/libnetworkstats_test": library "libnetworkstats.so" not found: needed by main executable This may be because it can't find libnetworkstats.so because that is in platform. In any case, since this is the test for libnetworkstats, dynamically linking libnetworkstats is incorrect, because it means if the same CL modifies both libnetworkstats and its test, that CL will run the modified test against the unmodified libnetworkstats.so on the device, when running updating tests without reflashing the device. Also remove libutils because it does not seem to be needed. Test: atest libnetworkstats_test passes with libraries moved Change-Id: Id49641c0a919129e2c54531c3995ec7421161002
Diffstat (limited to 'tests/unit/java/android/net/NetworkStatsHistoryTest.java')
0 files changed, 0 insertions, 0 deletions