blob: b151f4af7287e87b0471966badc0e6e32815a80f [file] [log] [blame] [edit]
# 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/config/fuchsia/rules.gni")
import("//build/test.gni")
import("//build/test/test_package.gni")
group("tests") {
testonly = true
deps = [ ":ddktl-unittest-package" ]
}
test("ddktl-test") {
configs += [ "//build/config/fuchsia:enable_zircon_asserts" ]
sources = [
"device-tests.cc",
"ethernet-tests.cc",
]
deps = [
"//sdk/banjo/ddk.protocol.ethernet",
"//sdk/banjo/ddk.protocol.test",
"//sdk/lib/fdio",
"//src/devices/lib/driver",
"//src/lib/ddk",
"//src/lib/ddktl",
"//zircon/public/lib/zx",
"//zircon/public/lib/zxtest",
]
}
unittest_package("ddktl-unittest-package") {
package_name = "ddktl"
deps = [ ":ddktl-test" ]
tests = [
{
name = "ddktl-test"
},
]
}