Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 4154840d authored by David Duarte's avatar David Duarte Committed by William Escande
Browse files

Add all unit and device tests to TEST_MAPPING

Bug: 265213364
Test: TreeHugger
Merged-In: I541650454729908a5dfe69af32efa5a7e033d233
(cherry picked from commit 2b0844ab)
Change-Id: Ief922ea416b72dc5e7eeaef6b5f05f4afbc1a76a
parent b9c471ed
Loading
Loading
Loading
Loading
+157 −63
Original line number Diff line number Diff line
{
  "postsubmit" : [
  "presubmit": [
    // android_test targets
    {
      "name" : "bluetooth_test_common"
      "name": "CtsBluetoothTestCases"
    },
    {
      "name" : "bluetoothtbd_test"
      "name": "BluetoothInstrumentationTests"
    },
    {
      "name": "GoogleBluetoothInstrumentationTests"
    },
    {
      "name": "FrameworkBluetoothTests"
    },
    {
      "name": "ServiceBluetoothTests"
    },
    // device only tests
    // Broken
    //{
    //  "name": "bluetooth-test-audio-hal-interface"
    //},
    {
      "name": "net_test_audio_a2dp_hw"
    },
    {
      "name" : "net_test_avrcp"
      "name": "net_test_audio_hearing_aid_hw"
    },
    {
      "name" : "net_test_btcore"
      "name": "net_test_bluetooth"
    },
    {
      "name": "net_test_bta"
    },
    {
      "name": "net_test_btif"
    },
    {
      "name" : "net_test_btif_profile_queue"
      "name": "net_test_btif_hf_client_service"
    },
    {
      "name" : "net_test_btpackets"
      "name": "net_test_btif_profile_queue"
    },
    {
      "name": "net_test_device"
    },
    {
      "name" : "net_test_eatt"
      "name": "net_test_gatt_conn_multiplexing"
    },
    {
      "name": "net_test_hci"
    },
    {
      "name" : "net_test_performance"
      "name": "net_test_hf_client_add_record"
    },
    {
      "name": "net_test_stack"
@@ -45,22 +63,57 @@
    {
      "name": "net_test_stack_multi_adv"
    },
    // go/a-unit-tests tests (unit_test: true)
    // Thoses test run on the host in the CI automatically.
    // Run the one that are available on the device on the
    // device as well
    {
      "name" : "net_test_stack_rfcomm"
      "name": "bluetooth_csis_test"
    },
    {
      "name" : "net_test_stack_smp"
      "name": "bluetooth_flatbuffer_tests"
    },
    {
      "name" : "net_test_types"
    }
  ],
  "presubmit" : [
      "name": "bluetooth_groups_test"
    },
    {
      "name" : "net_test_hf_client_add_record"
      "name": "bluetooth_has_test"
    },
    {
      "name" : "net_test_btif_hf_client_service"
      "name": "bluetooth_hh_test"
    },
    {
      "name": "bluetooth_le_audio_client_test"
    },
    {
      "name": "bluetooth_le_audio_test"
    },
    {
      "name": "bluetooth_packet_parser_test"
    },
    {
      "name": "bluetooth_test_broadcaster"
    },
    {
      "name": "bluetooth_test_broadcaster_state_machine"
    },
    {
      "name": "bluetooth_test_common"
    },
    {
      "name": "bluetooth_test_gd_unit"
    },
    {
      "name": "bluetooth_test_sdp"
    },
    {
      "name": "bluetooth_vc_test"
    },
    {
      "name": "bluetoothtbd_test"
    },
    {
      "name": "bt_host_test_bta"
    },
    {
      "name": "libaptx_enc_tests"
@@ -68,52 +121,93 @@
    {
      "name": "libaptxhd_enc_tests"
    },
    {
      "name": "net_test_avrcp"
    },
    {
      "name": "net_test_btcore"
    },
    {
      "name": "net_test_btif_config_cache"
    },
    {
      "name": "net_test_btif_hh"
    },
    {
      "name": "net_test_btif_rc"
    },
    {
      "name": "net_test_btif_stack"
    },
    {
      "name": "net_test_btm_iso"
    },
    {
      "name": "net_test_btpackets"
    },
    {
      "name": "net_test_eatt"
    },
    {
      "name": "net_test_hci_fragmenter_native"
    },
    {
      "name": "net_test_hci_native"
    },
    {
      "name": "net_test_main_shim"
    },
    {
      "name": "net_test_osi"
    },
    {
      "name": "net_test_performance"
    },
    {
      "name": "net_test_stack_a2dp_native"
    },
    {
      "name": "net_test_stack_acl"
    },
    {
      "name": "net_test_stack_avdtp"
    },
    {
      "name": "net_test_stack_btm"
    },
    {
      "name" : "BluetoothInstrumentationTests",
      "options" : [{
        // b/259422308
        "exclude-filter" : "com.android.bluetooth.opp.BluetoothOppTransferTest#eventHandler_handleMessage_MSG_CONNECT_TIMEOUT"
      }, {
        // b/259422308
        "exclude-filter" : "com.android.bluetooth.opp.BluetoothOppTransferTest#eventHandler_handleMessage_MSG_SHARE_INTERRUPTED_batchFailed"
      }, {
        // b/259422308
        "exclude-filter" : "com.android.bluetooth.opp.BluetoothOppTransferTest#eventHandler_handleMessage_TRANSPORT_ERROR_connectThreadIsNull"
      }, {
        // b/259422308
        "exclude-filter" : "com.android.bluetooth.opp.BluetoothOppTransferTest#onBatchCanceled_checkStatus"
      }, {
        // b/259422308
        "exclude-filter" : "com.android.bluetooth.opp.BluetoothOppUtilityTest#openReceivedFile_fileNotExist"
      }]
    },
    {
      "name" : "GoogleBluetoothInstrumentationTests",
      "options" : [{
        // b/259422308
        "exclude-filter" : "com.android.bluetooth.opp.BluetoothOppTransferTest#eventHandler_handleMessage_MSG_CONNECT_TIMEOUT"
      }, {
        // b/259422308
        "exclude-filter" : "com.android.bluetooth.opp.BluetoothOppTransferTest#eventHandler_handleMessage_MSG_SHARE_INTERRUPTED_batchFailed"
      }, {
        // b/259422308
        "exclude-filter" : "com.android.bluetooth.opp.BluetoothOppTransferTest#eventHandler_handleMessage_TRANSPORT_ERROR_connectThreadIsNull"
      }, {
        // b/259422308
        "exclude-filter" : "com.android.bluetooth.opp.BluetoothOppTransferTest#onBatchCanceled_checkStatus"
      }, {
        // b/259422308
        "exclude-filter" : "com.android.bluetooth.opp.BluetoothOppUtilityTest#openReceivedFile_fileNotExist"
      }]
      "name": "net_test_stack_btu"
    },
    {
      "name" : "FrameworkBluetoothTests"
      "name": "net_test_stack_gatt"
    },
    {
      "name" : "ServiceBluetoothTests"
      "name": "net_test_stack_gatt_native"
    },
    {
      "name": "net_test_stack_gatt_sr_hash_native"
    },
    {
      "name": "net_test_stack_hci"
    },
    {
      "name": "net_test_stack_hid"
    },
    {
      "name": "net_test_stack_l2cap"
    },
    // b/255042467
    //{
    //  "name": "net_test_stack_rfcomm"
    //},
    {
      "name": "net_test_stack_sdp"
    },
    {
      "name": "net_test_stack_smp"
    },
    {
      "name": "net_test_types"
    }
  ]
}
+5 −1
Original line number Diff line number Diff line
@@ -481,8 +481,12 @@ cc_test {
// Bluetooth stack connection multiplexing
cc_test {
    name: "net_test_gatt_conn_multiplexing",
    defaults: ["fluoride_defaults"],
    defaults: [
        "fluoride_defaults",
        "mts_defaults",
    ],
    host_supported: true,
    test_suites: ["general-tests"],
    local_include_dirs: [
        "include",
        "btm",