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