Make sure test APK is build when test is run via test mapping
Currently the test runs fine with atest locally, but fails in CI with "TargetSetupError: DummyDPC.apk not found". With test_suites it will be packaged and should be available in CI as well. Bug: 141115315 Test: atest -c ManagedProfileLifecycleStressTest Change-Id: I5e7138a6e1642cca1627060d76dd0c078c4f96f6
This commit is contained in:
@@ -17,4 +17,5 @@ android_test {
|
||||
defaults: ["cts_defaults"],
|
||||
srcs: ["src/**/*.java"],
|
||||
sdk_version: "current",
|
||||
test_suites: ["device-tests"],
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user