| # 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/test.gni") |
| |
| group("tests") { |
| testonly = true |
| deps = [ ":package" ] |
| } |
| |
| # [START example] |
| test("driver_test_realm_example_simple_cpp") { |
| sources = [ "test.cc" ] |
| deps = [ |
| "//sdk/lib/device-watcher/cpp", |
| "//sdk/lib/driver_test_realm/simple", |
| "//src/lib/fxl/test:gtest_main", |
| ] |
| } |
| |
| fuchsia_unittest_package("package") { |
| package_name = "driver_test_realm_example_simple_cpp" |
| deps = [ ":driver_test_realm_example_simple_cpp" ] |
| } |
| # [END example] |