| # 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("cprng") { | |
| output_name = "cprng-test" | |
| sources = [ "cprng.c" ] | |
| deps = [ | |
| "//sdk/lib/fdio", | |
| "//zircon/system/ulib/zxtest", | |
| ] | |
| } | |
| fuchsia_unittest_package("cprng-test-pkg") { | |
| package_name = "cprng-test" | |
| deps = [ ":cprng" ] | |
| } | |
| group("tests") { | |
| testonly = true | |
| deps = [ ":cprng-test-pkg" ] | |
| } |