blob: 1fb44bd1d46e1d7e9f02da712eb212caee8c7106 [file] [log] [blame]
# Copyright 2020 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/fuchsia_unittest_package.gni")
executable("async-watchdog-unittests") {
testonly = true
sources = [ "watchdog_unittest.cc" ]
deps = [
"//sdk/lib/sys/cpp",
"//sdk/lib/syslog/cpp",
"//src/lib/async-watchdog",
"//src/lib/fxl",
"//src/lib/fxl/test:gtest_main",
"//src/lib/testing/loop_fixture",
"//src/lib/testing/loop_fixture",
"//zircon/system/ulib/async:async-cpp",
"//zircon/system/ulib/async-default",
"//zircon/system/ulib/async-loop:async-loop-cpp",
"//zircon/system/ulib/async-loop:async-loop-default",
"//zircon/system/ulib/zx",
]
}
fuchsia_unittest_package("unittests") {
package_name = "async-watchdog-unittests"
component_name = "async-watchdog-unittests"
deps = [ ":async-watchdog-unittests" ]
manifest = "meta/async-watchdog-unittests.cml"
test_specs = {
log_settings = {
max_severity = "FATAL"
}
}
}