blob: 4af582d8cbb9ee5cd0d0dc4a462f9ec94e0d3853 [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.
group("test") {
testonly = true
deps = [
":libhwreg",
":libhwreg-i2c",
]
}
zx_test("libhwreg") {
sources = [
"bitfields-test.cc",
"indirect-test.cc",
]
deps = [
"$zx/system/dev/lib/mmio",
"$zx/system/ulib/ddk",
"$zx/system/ulib/ddktl",
"$zx/system/ulib/fbl",
"$zx/system/ulib/fdio",
"$zx/system/ulib/hwreg:hwreg",
"$zx/system/ulib/unittest",
"$zx/system/ulib/zircon",
"$zx/system/ulib/zx",
"$zx/system/ulib/zxtest",
]
}
zx_test("libhwreg-i2c") {
sources = [
"i2c-hwreg-test.cc",
]
deps = [
"$zx/system/dev/lib/mock-i2c",
"$zx/system/ulib/ddk",
"$zx/system/ulib/ddktl",
"$zx/system/ulib/fbl",
"$zx/system/ulib/fdio",
"$zx/system/ulib/hwreg:hwreg-i2c",
"$zx/system/ulib/unittest",
"$zx/system/ulib/zircon",
"$zx/system/ulib/zx",
"$zx/system/ulib/zxtest",
]
}