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