Merge "snapuserd: Add snapuserd_test to presubmit and VTS." into main am: 5b91ae9f4e am: b8cf4b820f am: a3e13cff17 am: e88f53fab6 am: acb7116295

Original change: https://android-review.googlesource.com/c/platform/system/core/+/2698913

Change-Id: Id7104e4569b89163a179f85a9f6d1de9c3893599
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
David Anderson 2023-08-30 02:26:20 +00:00 committed by Automerger Merge Worker
commit 711d96e4fb
2 changed files with 29 additions and 4 deletions

View file

@ -28,6 +28,9 @@
//{"name": "vabc_legacy_tests"},
{
"name": "cow_api_test"
},
{
"name": "snapuserd_test"
}
],
"kernel-presubmit": [
@ -42,8 +45,11 @@
},
{
"name": "vab_legacy_tests"
}
},
// TODO: b/279009697
//{"name": "vabc_legacy_tests"}
{
"name": "snapuserd_test"
}
]
}

View file

@ -214,8 +214,8 @@ cc_test {
require_root: false,
}
cc_test {
name: "snapuserd_test",
cc_defaults {
name: "snapuserd_test_defaults",
defaults: [
"fs_mgr_defaults",
"libsnapshot_cow_defaults",
@ -256,5 +256,24 @@ cc_test {
min_shipping_api_level: 30,
},
auto_gen_config: true,
require_root: false,
require_root: true,
compile_multilib: "first",
}
cc_test {
name: "snapuserd_test",
defaults: ["snapuserd_test_defaults"],
host_supported: true,
test_suites: [
"device-tests",
],
}
// vts tests cannot be host_supported.
cc_test {
name: "vts_snapuserd_test",
defaults: ["snapuserd_test_defaults"],
test_suites: [
"vts",
],
}