Skip to content
Snippets Groups Projects
Commit 523d47e8 authored by Julien Desprez's avatar Julien Desprez
Browse files

Swich TEST_MAPPING config to unit_tests:true

All unit_tests:true are run in presubmit which avoids
the explicit definition of TEST_MAPPING.

Test: presubmit runs all those tests
Bug: 175408655
Change-Id: I4d42ce5da5cdca819e61691475e8645e83942ab1
Merged-In: Ib6e861158b8b9b426b48147b778f49f73c35be9f
parent 298c5d45
No related branches found
No related tags found
No related merge requests found
......@@ -56,54 +56,6 @@
}
],
"presubmit" : [
{
"name" : "bluetooth_test_common",
"host" : true
},
{
"name" : "bluetoothtbd_test",
"host" : true
},
{
"name" : "net_test_avrcp",
"host" : true
},
{
"name" : "net_test_btcore",
"host" : true
},
{
"name" : "net_test_btm_iso",
"host" : true
},
{
"name" : "net_test_btpackets",
"host" : true
},
{
"name" : "net_test_eatt",
"host" : true
},
{
"name" : "net_test_types",
"host" : true
},
{
"name" : "net_test_btif_rc",
"host" : true
},
{
"name" : "net_test_stack_gatt_native",
"host" : true
},
{
"name" : "net_test_stack_a2dp_native",
"host" : true
},
{
"name" : "net_test_btif_config_cache",
"host" : true
},
{
"name" : "net_test_hf_client_add_record"
},
......
......@@ -47,4 +47,7 @@ cc_test {
"libosi",
],
host_supported: true,
test_options: {
unit_test: true,
},
}
......@@ -200,6 +200,9 @@ cc_test {
defaults: ["fluoride_defaults"],
test_suites: ["device-tests"],
host_supported: true,
test_options: {
unit_test: true,
},
include_dirs: btifCommonIncludes,
srcs: [
"test/btif_rc_test.cc",
......@@ -233,6 +236,9 @@ cc_test {
defaults: ["fluoride_defaults"],
test_suites: ["device-tests"],
host_supported: true,
test_options: {
unit_test: true,
},
include_dirs: btifCommonIncludes,
srcs: [
"src/btif_config_cache.cc",
......
......@@ -34,6 +34,9 @@ cc_test {
"clang_coverage_bin",
],
host_supported: true,
test_options: {
unit_test: true,
},
include_dirs: [
"packages/modules/Bluetooth/system",
"packages/modules/Bluetooth/system/stack/include",
......
......@@ -21,6 +21,9 @@ cc_test {
defaults: ["fluoride_defaults"],
test_suites: ["device-tests"],
host_supported: true,
test_options: {
unit_test: true,
},
local_include_dirs: ["tests"],
include_dirs: [
"packages/modules/Bluetooth/system/",
......
......@@ -38,6 +38,9 @@ cc_test {
"clang_coverage_bin",
],
host_supported: true,
test_options: {
unit_test: true,
},
include_dirs: [
"packages/modules/Bluetooth/system",
"packages/modules/Bluetooth/system/btcore/include",
......
......@@ -130,6 +130,9 @@ cc_test {
],
host_supported: true,
test_options: {
unit_test: true,
},
target: {
// This includes Binder related tests that can only be run
// on target.
......
......@@ -453,6 +453,9 @@ cc_test {
defaults: ["fluoride_defaults"],
test_suites: ["device-tests"],
host_supported: true,
test_options: {
unit_test: true,
},
include_dirs: [
"packages/modules/Bluetooth/system",
"packages/modules/Bluetooth/system/stack/include",
......@@ -492,6 +495,9 @@ cc_test {
defaults: ["fluoride_defaults"],
test_suites: ["device-tests"],
host_supported: true,
test_options: {
unit_test: true,
},
include_dirs: [
"external/libldac/inc",
"packages/modules/Bluetooth/system",
......@@ -561,6 +567,9 @@ cc_test {
name: "net_test_btm_iso",
test_suites: ["device-tests"],
host_supported: true,
test_options: {
unit_test: true,
},
defaults: ["fluoride_defaults"],
local_include_dirs: [
"btm",
......@@ -601,6 +610,9 @@ cc_test {
name: "net_test_eatt",
test_suites: ["device-tests"],
host_supported: true,
test_options: {
unit_test: true,
},
defaults: [
"fluoride_defaults",
"clang_coverage_bin",
......
......@@ -40,6 +40,9 @@ cc_test {
test_suites: ["device-tests"],
defaults: ["fluoride_defaults"],
host_supported: true,
test_options: {
unit_test: true,
},
srcs: [
"test/class_of_device_unittest.cc",
"test/raw_address_unittest.cc",
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment