blob: d2cdc520803cec104fbdffadbc4c0a18bfc00ee1 [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/test_package.gni")
import("//build/testing/environments.gni")
group("tests") {
testonly = true
deps = [ ":zxc-tests" ]
}
executable("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" ]
}
}
unittest_package("zxc-tests") {
deps = [ ":zxc_unittests" ]
tests = [
{
name = "zxc_unittests"
environments = [ emu_env ]
},
]
}