| # 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 = "2024" | |
| deps = [ | |
| "//sdk/fidl/fuchsia.diagnostics:fuchsia.diagnostics_rust", | |
| "//src/lib/diagnostics/reader/rust", | |
| "//src/lib/diagnostics/testing/diagnostics-assertions/rust:diagnostics-assertions", | |
| "//src/lib/fuchsia", | |
| "//src/lib/fuchsia-component", | |
| "//third_party/rust_crates:anyhow", | |
| ] | |
| sources = [ "src/lib.rs" ] | |
| configs += [ "//build/config/rust/lints:clippy_warn_all" ] | |
| } | |
| 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 = [ "//src/diagnostics/archivist:archivist-for-embedding-bundle" ] | |
| } | |
| group("tests") { | |
| testonly = true | |
| deps = [ ":archive-reader-integration-tests" ] | |
| } |