blob: 93b362c1906809a49470c76cca7f66629c7a4b56 [file] [log] [blame]
# Copyright 2021 The Fuchsia Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
import("//build/components.gni")
import("//build/rust/rustc_test.gni")
rustc_test("bt_access_integration_tests") {
source_root = "src/lib.rs"
deps = [
"//sdk/fidl/fuchsia.bluetooth.sys:fuchsia.bluetooth.sys-rustc",
"//sdk/fidl/fuchsia.bluetooth.test:fuchsia.bluetooth.test-rustc",
"//src/connectivity/bluetooth/lib/fuchsia-bluetooth",
"//src/connectivity/bluetooth/testing/bt-test-harness",
"//src/connectivity/bluetooth/testing/hci-emulator-client",
"//src/connectivity/bluetooth/testing/test-harness",
"//src/lib/fidl/rust/fidl",
"//third_party/rust_crates:anyhow",
]
sources = [ "src/lib.rs" ]
configs -= [ "//build/config/rust:allow_unused_results" ]
}
fuchsia_test_component("bt-access-integration-tests-component") {
manifest = "meta/bt-access-integration-tests.cml"
deps = [ ":bt_access_integration_tests" ]
}
fuchsia_test_package("bt-access-integration-tests") {
test_components = [ ":bt-access-integration-tests-component" ]
test_specs = {
# control the parallelism
parallel = 1
}
}