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

Commit e4729d87 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: Ibf2b80f902bffa4924853f001780e2d273cf451f
parent 1b13c0a6
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -269,6 +269,9 @@ cc_test {
        "gd_clang_coverage_bin",
    ],
    host_supported: true,
    test_options: {
        unit_test: true,
    },
    target: {
        linux: {
            srcs: [
@@ -346,6 +349,9 @@ cc_test {
        "gd_clang_coverage_bin",
    ],
    host_supported: true,
    test_options: {
        unit_test: true,
    },
    srcs: [
        ":BluetoothCommonSources",
        ":BluetoothPacketSources",

system/gd/TEST_MAPPING

deleted100644 → 0
+0 −16
Original line number Diff line number Diff line
{
  "presubmit" : [
    {
      "name" : "bluetooth_test_gd",
      "host" : true
    },
    {
      "name" : "bluetooth_packet_parser_test",
      "host" : true
    },
    {
      "name" : "bluetooth_flatbuffer_test",
      "host" : true
    }
  ]
}
+3 −0
Original line number Diff line number Diff line
@@ -121,6 +121,9 @@ cc_test {
    name: "bluetooth_flatbuffer_test",
    test_suites: ["device-tests"],
    host_supported: true,
    test_options: {
        unit_test: true,
    },
    static_libs: [
        "libgmock",
        "libflatbuffers-cpp",