blob: 15a89c7d9a1078adebab75570224eafb2c7d046d [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/components.gni")
import("//build/test.gni")
group("test") {
testonly = true
deps = [ ":async-test-pkg" ]
}
test("async") {
output_name = "async-test"
sources = [
"default_tests.cc",
"dispatcher_tests.cc",
"executor_tests.cc",
"irq_tests.cc",
"paged_vmo_tests.cc",
"receiver_tests.cc",
"sequence_checker_tests.cc",
"sequence_id_tests.cc",
"task_tests.cc",
"time_tests.cc",
"trap_tests.cc",
"wait_tests.cc",
]
deps = [
"//sdk/lib/async",
"//sdk/lib/async:async-cpp",
"//sdk/lib/async-default",
"//sdk/lib/async-loop:async-loop-cpp",
"//sdk/lib/async-loop:async-loop-default",
"//sdk/lib/async-testing",
"//sdk/lib/fdio",
"//sdk/lib/fit",
"//zircon/system/ulib/fbl",
"//zircon/system/ulib/zx",
"//zircon/system/ulib/zxtest",
]
}
fuchsia_unittest_package("async-test-pkg") {
deps = [ ":async" ]
}