blob: eb0f28389b654672cbc603c466a6e68e66c6319d [file] [log] [blame]
# Copyright 2019 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")
import("//build/testing/environments.gni")
group("tests") {
testonly = true
deps = [ ":recovery_integration_test" ]
}
rustc_test("bin") {
name = "recovery_integration_test"
edition = "2018"
deps = [
"//sdk/fidl/fuchsia.sys:fuchsia.sys-rustc",
"//src/lib/fdio/rust:fdio",
"//src/lib/fuchsia-async",
"//src/lib/fuchsia-component",
"//src/lib/fuchsia-runtime",
"//third_party/rust_crates:anyhow",
"//third_party/rust_crates:futures",
"//third_party/rust_crates:thiserror",
]
sources = [ "src/lib.rs" ]
}
test_package("recovery_integration_test") {
deps = [ ":bin" ]
tests = [
{
name = "recovery_integration_test"
environments = [ nuc_env ]
},
]
}