| # 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("tests_bin") { |
| edition = "2018" |
| source_root = "main.rs" |
| name = "go_runner_integration_test" |
| |
| deps = [ |
| "//src/lib/fuchsia-async", |
| "//src/lib/test_executor/rust:test_executor", |
| "//src/sys/test_runners:test_lib", |
| "//third_party/rust_crates:anyhow", |
| "//third_party/rust_crates:futures", |
| "//third_party/rust_crates:matches", |
| "//third_party/rust_crates:pretty_assertions", |
| "//third_party/rust_crates:regex", |
| "//third_party/rust_crates:thiserror", |
| ] |
| |
| sources = [ "main.rs" ] |
| } |
| |
| fuchsia_component("go_runner_integration_test") { |
| testonly = true |
| manifest = "meta/go_runner_integration_test.cml" |
| deps = [ ":tests_bin" ] |
| } |
| |
| fuchsia_test_package("go-runner-integration-test") { |
| test_components = [ ":go_runner_integration_test" ] |
| } |
| |
| group("tests") { |
| testonly = true |
| deps = [ |
| ":go-runner-integration-test", |
| "../test_data", |
| ] |
| } |