blob: 82abf84737f74d7341aee8ca1ceff017ea2283b2 [file] [log] [blame]
# 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/test.gni")
import("//src/sys/build/fuchsia_unittest_package.gni")
test("pty") {
output_name = "pty-test"
configs += [ "//build/unification/config:zircon-migrated" ]
sources = [ "pty-test.cc" ]
deps = [
"//sdk/fidl/fuchsia.hardware.pty:fuchsia.hardware.pty_llcpp",
"//sdk/lib/fdio",
"//zircon/public/lib/zx",
"//zircon/public/lib/zxtest",
"//zircon/system/ulib/fdio-caller",
"//zircon/system/ulib/service:service-llcpp",
]
}
fuchsia_unittest_package("pty-test") {
manifest = "meta/pty-test.cmx"
deps = [ ":pty" ]
}
group("tests") {
testonly = true
deps = [ ":pty-test" ]
}