android_packages_modules_Co.../staticlibs/testutils/host
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Remi NGUYEN VAN 4a79993944 Make ConnectivityTestPreparer.apk path explicit
Instead of using recursive search in test directories to find
ConnectivityTestPreparer.apk, only search for it in the dependencies of
net-tests-utils-host-common.

The default strategy for finding test files is to do a recursive search
in test directories, which may find wrong files in wrong directories.
In particular, if some MTS test includes the checker APK, and that test
is linked to a module that boards the train at a version different from
this target preparer, there could be a version difference between the
APK and the host-side preparer.

Follow-up changes will remove ConnectivityTestPreparer.apk from the
dependencies of each test case so it does not appear multiple times in
test suites like android-mts.zip, but this change makes the process
more deterministic.

Test: mts-tradefed run mts-dev -m CtsTetheringTest
Bug: 377716515
Change-Id: I3b00ef9a0bd1d29e8734f44413be4ff16879c574
2024-12-05 14:46:29 +09:00
..
java/com/android/testutils Make ConnectivityTestPreparer.apk path explicit 2024-12-05 14:46:29 +09:00
python Refactor is_packet_capture_supported() by expect_throws() 2024-10-22 03:07:27 +00:00