| # Copyright 2019 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") |
| |
| test("pty") { |
| output_name = "pty-test" |
| sources = [ "pty-test.cc" ] |
| deps = [ |
| "//sdk/fidl/fuchsia.hardware.pty:fuchsia.hardware.pty_llcpp", |
| "//sdk/lib/fdio", |
| "//zircon/system/ulib/fdio-caller", |
| "//zircon/system/ulib/service:service-llcpp", |
| "//zircon/system/ulib/zx", |
| "//zircon/system/ulib/zxtest", |
| ] |
| } |
| |
| fuchsia_unittest_package("pty-test") { |
| manifest = "meta/pty-test.cml" |
| deps = [ ":pty" ] |
| } |
| |
| group("tests") { |
| testonly = true |
| deps = [ ":pty-test" ] |
| } |