| # 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("//src/sys/build/components.gni") |
| |
| executable("integration_test") { |
| testonly = true |
| output_name = "inspect_cpp_codelab_part_2_integration_test" |
| sources = [ "integration_test.cc" ] |
| |
| deps = [ |
| "//examples/diagnostics/inspect/codelab/fidl:fuchsia.examples.inspect", |
| "//garnet/public/lib/gtest", |
| "//sdk/fidl/fuchsia.diagnostics", |
| "//sdk/fidl/fuchsia.io", |
| "//sdk/lib/sys/cpp", |
| "//sdk/lib/sys/cpp/testing:integration", |
| "//src/lib/fxl/test:gtest_main", |
| ] |
| } |
| |
| fuchsia_component("inspect_cpp_codelab_part_2_integration_test") { |
| testonly = true |
| manifest = "integration_part_2.cmx" |
| deps = [ ":integration_test" ] |
| } |
| |
| fuchsia_test("test_spec") { |
| package = "//examples/diagnostics/inspect/codelab/cpp:inspect_cpp_codelab_integration_tests" |
| component = ":inspect_cpp_codelab_part_2_integration_test" |
| } |