blob: 6ee51ac2281a9588a580c997a3d4cbd040fd2c2e [file]
# 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/rust/rustc_test.gni")
import("//build/test/test_package.gni")
rustc_test("driver") {
name = "far_integration_test"
edition = "2018"
deps = [
"//src/lib/fuchsia-async",
"//src/lib/fuchsia-component",
"//third_party/rust_crates:tempfile",
]
sources = [ "src/lib.rs" ]
}
test_package("far-integration-tests") {
deps = [
":driver",
"//src/sys/pkg/bin/far:bin",
]
binaries = [
{
name = "far"
dest = "far"
},
]
meta = [
{
path = "meta/far.cmx"
dest = "far.cmx"
},
]
tests = [
{
name = "far_integration_test"
dest = "far-integration-test"
},
]
}
group("tests") {
testonly = true
public_deps = [ ":far-integration-tests" ]
}