blob: 4b40872ad716dfa8ad883e3da2ce84380fd52600 [file] [log] [blame]
# Copyright 2020 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("driver") {
name = "far_integration_test"
edition = "2021"
deps = [
"//src/lib/fdio/rust:fdio",
"//src/lib/fidl/rust/fidl",
"//src/lib/fuchsia-async",
"//src/lib/fuchsia-component",
"//src/lib/fuchsia-fs",
"//src/lib/fuchsia-runtime",
"//src/lib/zircon/rust:fuchsia-zircon",
"//src/sys/pkg/testing/shell-process",
"//third_party/rust_crates:anyhow",
"//third_party/rust_crates:futures",
"//third_party/rust_crates:libc",
"//third_party/rust_crates:tempfile",
]
sources = [ "src/lib.rs" ]
}
fuchsia_unittest_package("far-integration-tests") {
component_name = "far-integration-tests"
manifest = "meta/far-integration-test.cml"
deps = [
":driver",
"//src/sys/pkg/bin/far:bin",
]
}
group("tests") {
testonly = true
public_deps = [ ":far-integration-tests" ]
}