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