diff options
author | Pavel Grafov <pgrafov@google.com> | 2019-12-12 16:25:28 +0000 |
---|---|---|
committer | Pavel Grafov <pgrafov@google.com> | 2019-12-12 16:25:28 +0000 |
commit | e0ba4aaf1c49dbeb4251901df74a76bd629d5266 (patch) | |
tree | 718ee1a20e090406b57a48c3cf3ce0e9a5632694 /tests/ManagedProfileLifecycleStressTest | |
parent | 0feede8f74b233f749623281a936d1ef71914eda (diff) |
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
Diffstat (limited to 'tests/ManagedProfileLifecycleStressTest')
-rw-r--r-- | tests/ManagedProfileLifecycleStressTest/app/DummyDPC/Android.bp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/ManagedProfileLifecycleStressTest/app/DummyDPC/Android.bp b/tests/ManagedProfileLifecycleStressTest/app/DummyDPC/Android.bp index d95af340337e..1f47b03d0074 100644 --- a/tests/ManagedProfileLifecycleStressTest/app/DummyDPC/Android.bp +++ b/tests/ManagedProfileLifecycleStressTest/app/DummyDPC/Android.bp @@ -17,4 +17,5 @@ android_test { defaults: ["cts_defaults"], srcs: ["src/**/*.java"], sdk_version: "current", + test_suites: ["device-tests"], } |