blob: b99859176e4e3e974538305aee6603dba2fd5632 [file] [log] [blame] [edit]
# 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("integration_tests_bin") {
name = "archive_reader_integration_test"
edition = "2021"
deps = [
"//src/lib/diagnostics/hierarchy/rust",
"//src/lib/diagnostics/reader/rust",
"//src/lib/fuchsia",
"//third_party/rust_crates:anyhow",
]
sources = [ "src/lib.rs" ]
}
fuchsia_component("driver") {
testonly = true
deps = [ ":integration_tests_bin" ]
manifest = "meta/driver.cml"
}
fuchsia_component("archive_reader_integration_test") {
testonly = true
deps = [ ":integration_tests_bin" ]
manifest = "meta/archive_reader_integration_test.cml"
}
fuchsia_test_package("archive-reader-integration-tests") {
test_components = [ ":archive_reader_integration_test" ]
deps = [
":driver",
"//src/diagnostics/archivist:archivist-for-embedding-v2",
]
}
group("tests") {
testonly = true
deps = [ ":archive-reader-integration-tests" ]
}