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

Commit d3de6487 authored by nelsonli's avatar nelsonli Committed by android-build-merger
Browse files

Merge "[vts-core] Add vts_core_liblp_test to vts-core"

am: b4a65cf1

Change-Id: Ia0c31149a81a0514ae4b3e612288fb0a71cfe33c
parents 05527368 b4a65cf1
Loading
Loading
Loading
Loading
+20 −12
Original line number Diff line number Diff line
@@ -55,9 +55,26 @@ cc_library {
    export_include_dirs: ["include"],
}

filegroup {
    name: "liblp_test_srcs",
    srcs: [
        "builder_test.cpp",
        "device_test.cpp",
        "io_test.cpp",
        "test_partition_opener.cpp",
        "utility_test.cpp",
    ],
}

cc_defaults {
    name: "liblp_test_defaults",
    defaults: ["fs_mgr_defaults"],
    sanitize: {
        misc_undefined: ["integer"],
    },
    cflags: [
        "-Wall",
        "-Werror",
    ],
    cppflags: [
        "-Wno-unused-parameter",
    ],
@@ -71,23 +88,14 @@ cc_defaults {
        "libstorage_literals_headers",
    ],
    stl: "libc++_static",
    srcs: [
        "builder_test.cpp",
        "device_test.cpp",
        "io_test.cpp",
        "test_partition_opener.cpp",
        "utility_test.cpp",
    ],
    srcs: [":liblp_test_srcs"],
}

cc_test {
    name: "liblp_test",
    defaults: ["liblp_test_defaults"],
    test_config: "liblp_test.xml",
    test_suites: [
        "device-tests",
        "vts-core",
    ],
    test_suites: ["device-tests"],
}

cc_test {
+22 −0
Original line number Diff line number Diff line
//
// Copyright (C) 2019 The Android Open Source Project
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
//      http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
//

cc_test {
    name: "vts_core_liblp_test",
    defaults: ["liblp_test_defaults"],
    test_suites: ["vts-core"],
    test_min_api_level: 29,
}