Also added some missing test_suites setting.
Following tests don't have host_supported set to true in Android.bp:
net_test_audio_a2dp_hw
net_test_btif
net_test_btif_profile_queue
net_test_device
net_test_hci
net_test_stack
net_test_stack_ad_parser
net_test_stack_smp
Following tests failed to run in host with error "did not report any run":
net_test_performance
net_test_stack_rfcomm
Bug:
111921389
Test: system/bt$ atest --host :postsubmit
Change-Id: I5f55cead7a2ad1cadea48220f45781f4f74949dd
"name" : "net_test_types"
},
{
+ "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_btpackets",
+ "host" : true
+ },
+ {
+ "name" : "net_test_types",
+ "host" : true
}
]
}
cc_test {
name: "net_test_btif",
defaults: ["fluoride_defaults"],
+ test_suites: ["device-tests"],
include_dirs: btifCommonIncludes,
srcs: ["test/btif_storage_test.cc"],
header_libs: ["libbluetooth_headers"],
cc_test {
name: "net_test_btif_profile_queue",
defaults: ["fluoride_defaults"],
+ test_suites: ["device-tests"],
include_dirs: btifCommonIncludes,
srcs: [
"src/btif_profile_queue.cc",
cc_test {
name: "net_test_performance",
defaults: ["fluoride_defaults"],
+ test_suites: ["device-tests"],
include_dirs: ["system/bt"],
host_supported: true,
srcs: [
cc_test {
name: "net_test_btpackets",
defaults: ["fluoride_defaults"],
+ test_suites: ["device-tests"],
host_supported: true,
local_include_dirs: ["tests"],
include_dirs: [
cc_test {
name: "net_test_stack",
defaults: ["fluoride_defaults"],
+ test_suites: ["device-tests"],
local_include_dirs: [
"include",
],
cc_test {
name: "net_test_stack_rfcomm",
defaults: ["fluoride_defaults"],
+ test_suites: ["device-tests"],
host_supported: true,
local_include_dirs: [
"include",
cc_test {
name: "net_test_stack_smp",
defaults: ["fluoride_defaults"],
+ test_suites: ["device-tests"],
local_include_dirs: [
"include",
"btm",
cc_test {
name: "net_test_stack_multi_adv",
defaults: ["fluoride_defaults"],
+ test_suites: ["device-tests"],
local_include_dirs: [
"include",
"btm",
cc_test {
name: "net_test_stack_ad_parser",
defaults: ["fluoride_defaults"],
+ test_suites: ["device-tests"],
local_include_dirs: [
"include",
],