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

Commit 43678b17 authored by Justin Yun's avatar Justin Yun
Browse files

Replace test_min_api_level with test_options.min_shipping_api_level

Test options for the api levels are moved to test_options.
test_min_api_level property will be removed with this change.

Bug: 187258404
Test: build
Change-Id: Id943566de2ac693b5955bd84a8463e5013a8bb0f
parent be17619c
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -86,7 +86,9 @@ cc_test {
    name: "vts_libdm_test",
    defaults: ["libdm_test_defaults"],
    test_suites: ["vts"],
    test_min_api_level: 29,
    test_options: {
        min_shipping_api_level: 29,
    },
}

cc_fuzz {
+3 −1
Original line number Diff line number Diff line
@@ -90,7 +90,9 @@ cc_test {

    test_suites: ["vts", "device-tests"],
    auto_gen_config: true,
    test_min_api_level: 29,
    test_options: {
        min_shipping_api_level: 29,
    },
    require_root: true,
}

+3 −1
Original line number Diff line number Diff line
@@ -105,7 +105,9 @@ cc_test {
    defaults: ["liblp_test_defaults"],
    test_suites: ["vts"],
    auto_gen_config: true,
    test_min_api_level: 29,
    test_options: {
        min_shipping_api_level: 29,
    },
    require_root: true,
}

+6 −2
Original line number Diff line number Diff line
@@ -251,7 +251,9 @@ cc_defaults {
        "vts",
        "device-tests"
    ],
    test_min_api_level: 29,
    test_options: {
        min_shipping_api_level: 29,
    },
    auto_gen_config: true,
    require_root: true,
}
@@ -407,7 +409,9 @@ cc_test {
    test_suites: [
        "device-tests"
    ],
    test_min_api_level: 30,
    test_options: {
        min_shipping_api_level: 30,
    },
    auto_gen_config: true,
    require_root: false,
    host_supported: true,
+3 −1
Original line number Diff line number Diff line
@@ -128,7 +128,9 @@ cc_test {
        "libstorage_literals_headers",
        "libfiemap_headers",
    ],
    test_min_api_level: 30,
    test_options: {
        min_shipping_api_level: 30,
    },
    auto_gen_config: true,
    require_root: false,
}