mirror of
https://github.com/androidx/media.git
synced 2025-05-03 21:57:46 +08:00

MobileHarness allocates random devices for each test and repeats tests up to 5 times to account for spurious test failures. Some of our tests automatically pass for SDK versions below a certain threshold. Thus, even if such a version-guarded test would always fail, the MobileHarness test is likely to succeed as it only needs one random allocation to a device with a lower SDK version. To prevent this behaviour and to make sure all tests are actually run, the mobile_test target is split into multiple targets one for each minimum SDK version. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=172447046