Opt out of gtest error if no binary found

Bug: 348446766
Test: Presubmit
Change-Id: If1aaa9726529453fc612fe4dec31f334460436d4
This commit is contained in:
jahinimtiaz 2024-06-26 21:00:25 +00:00
parent b2bd7ae863
commit 5c8a0f6752
2 changed files with 15 additions and 1 deletions

View file

@ -316,6 +316,12 @@ cc_test {
test_options: {
// Legacy VAB launched in Android R.
min_shipping_api_level: 30,
test_runner_options: [
{
name: "force-no-test-error",
value: "false",
},
],
},
}

View file

@ -168,7 +168,7 @@ cc_binary {
vendor_ramdisk_available: true,
}
// This target will install to /system/bin/snapuserd_ramdisk
// This target will install to /system/bin/snapuserd_ramdisk
// It will also create a symblink on /system/bin/snapuserd that point to
// /system/bin/snapuserd_ramdisk .
// This way, init can check if generic ramdisk copy exists.
@ -249,6 +249,14 @@ cc_test {
test_suites: [
"device-tests",
],
test_options: {
test_runner_options: [
{
name: "force-no-test-error",
value: "false",
},
],
},
}
// vts tests cannot be host_supported.