blob: 4246d0314ddd8567331d857a76a9fea872b04807 [file] [log] [blame] [edit]
# Copyright 2021 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/testing/cc_test_executable.gni")
group("integration") {
testonly = true
deps = [ ":package" ]
}
cc_test_executable("accessor2logger_test_bin") {
testonly = true
sources = [ "test.cc" ]
deps = [
"//sdk/fidl/fuchsia.diagnostics:fuchsia.diagnostics_hlcpp",
"//sdk/fidl/fuchsia.logger:fuchsia.logger_hlcpp",
"//sdk/lib/sys/cpp",
"//sdk/lib/syslog/cpp",
"//src/lib/diagnostics/accessor2logger",
"//src/lib/fxl/test:gtest_main",
"//third_party/googletest:gtest",
]
}
fuchsia_test_component("component") {
deps = [ ":accessor2logger_test_bin" ]
manifest = "meta/test_component.cml"
}
fuchsia_test_package("package") {
package_name = "accessor2logger-integration-test"
test_components = [ ":component" ]
test_specs = {
log_settings = {
max_severity = "ERROR"
}
}
}