blob: 8f4ad173a8392b94e70188f6b7b1bcb3c9a09846 [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.
zx_library("test_support") {
static = true
testonly = true
sources = [
"environment.cc",
"fixtures.cc",
"test_support.cc",
]
public_deps = [
"$zx/system/fidl/fuchsia-io:llcpp",
"$zx/system/ulib/devmgr-integration-test:headers",
"$zx/system/ulib/fbl:headers",
"$zx/system/ulib/fs-management:headers",
"$zx/system/ulib/ramdevice-client:headers",
"$zx/system/ulib/zxtest:headers",
]
deps = [
"$zx/system/fidl/fuchsia-device:llcpp",
"$zx/system/fidl/fuchsia-hardware-block:c",
"$zx/system/ulib/devmgr-integration-test",
"$zx/system/ulib/devmgr-launcher",
"$zx/system/ulib/fdio",
"$zx/system/ulib/fs-management",
"$zx/system/ulib/fvm",
"$zx/system/ulib/fzl",
"$zx/system/ulib/ramdevice-client",
"$zx/system/ulib/zircon",
"$zx/system/ulib/zxtest",
]
}
group("test") {
testonly = true
deps = [
":fs_test_support",
]
}
zx_test("fs_test_support") {
output_name = "fs-test-support-test"
sources = [
"test/environment_test.cc",
"test/fixtures_test.cc",
"test/main.cc",
]
deps = [
":test_support",
"$zx/system/ulib/zxtest",
]
}