| # 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("handle-alias") { |
| output_name = "handle-alias-test" |
| configs += [ "//build/unification/config:zircon-migrated" ] |
| sources = [ "handle-alias.c" ] |
| deps = [ |
| "//sdk/lib/fdio", |
| "//src/zircon/lib/zircon", |
| "//zircon/public/lib/zxtest", |
| ] |
| } |
| |
| fuchsia_unittest_package("handle-alias-test-pkg") { |
| package_name = "handle-alias-test" |
| deps = [ ":handle-alias" ] |
| } |
| |
| group("tests") { |
| testonly = true |
| deps = [ ":handle-alias-test-pkg" ] |
| } |