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