blob: 0ff074345287680ecf88872eb53e34251d1dbe9b [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("tests_bin") {
edition = "2021"
source_root = "main.rs"
name = "elf_test_runner_integration_test"
deps = [
"//sdk/fidl/fuchsia.test.manager:fuchsia.test.manager-rustc",
"//src/lib/fuchsia-async",
"//src/sys/test_manager:test_lib",
"//src/sys/test_runners:test_lib",
"//third_party/rust_crates:anyhow",
"//third_party/rust_crates:futures",
"//third_party/rust_crates:pretty_assertions",
]
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" ]
deps = [ "//src/sys/test_manager:test_manager_for_test_cmp" ]
}
group("tests") {
testonly = true
deps = [
":elf-test-runner-integration-test",
"../test_data:elf-test-runner-example-tests",
]
}