blob: 3a70231c9e5c83ec14e06222282687ee032afad5 [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/rust/rustc_test.gni")
import("//src/sys/build/components.gni")
rustc_test("tests_bin") {
source_root = "main.rs"
name = "elf_test_runner_integration_test"
deps = [
"//sdk/fidl/fuchsia.io:fuchsia.io-rustc",
"//sdk/fidl/fuchsia.sys2:fuchsia.sys2-rustc",
"//sdk/fidl/fuchsia.test:fuchsia.test-rustc",
"//sdk/fidl/fuchsia.test.manager:fuchsia.test.manager-rustc",
"//src/lib/fidl/rust/fidl",
"//src/lib/fuchsia-async",
"//src/lib/fuchsia-component",
"//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:itertools",
"//third_party/rust_crates:log",
"//third_party/rust_crates:maplit",
"//third_party/rust_crates:pretty_assertions",
"//third_party/rust_crates:thiserror",
]
sources = [ "main.rs" ]
}
fuchsia_component("elf_test_runner_integration_test") {
testonly = true
manifest = "meta/elf_test_runner_integration_test.cml"
deps = [ ":tests_bin" ]
}
fuchsia_test_package("elf-test-runner-integration-test") {
test_components = [ ":elf_test_runner_integration_test" ]
}
group("tests") {
testonly = true
deps = [
":elf-test-runner-integration-test",
"../test_data:elf-test-runner-example-tests",
]
}