blob: b88e337416b89f196e6aa3fd69d7989f0101ffe6 [file] [log] [blame]
# Copyright 2020 The Fuchsia Authors
#
# Use of this source code is governed by a MIT-style
# license that can be found in the LICENSE file or at
# https://opensource.org/licenses/MIT
import("//build/test.gni")
import("//build/testing/environments.gni")
import("//src/sys/build/components.gni")
group("tests") {
testonly = true
deps = [
":zxc-tests",
":zxc_unittests($host_toolchain)",
]
}
test("zxc_unittests") {
testonly = true
output_name = "zxc_unittests"
sources = [
"result_tests.cc",
"type_traits_tests.cc",
]
deps = [
"//zircon/public/lib/zxc",
"//zircon/public/lib/zxtest",
]
if (is_fuchsia) {
deps += [ "//sdk/lib/fdio" ]
}
}
fuchsia_unittest_package("zxc-tests") {
deps = [ ":zxc_unittests" ]
test_specs = {
environments = [ emu_env ]
}
}