blob: a26e269fcb815cef7f67b4d44a550d4df737b132 [file] [log] [blame] [edit]
# Copyright 2021 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("//sdk/ctf/build/ctf.gni")
ctf_executable("memfs-cts-test") {
output_name = "memfs-cts-test"
deps = [
"//sdk/lib/fdio",
"//src/lib/fxl/test:gtest_main",
"//src/storage/memfs:memfs",
"//third_party/googletest:gtest",
"//zircon/system/ulib/async:async-cpp",
"//zircon/system/ulib/async-loop:async-loop-cpp",
"//zircon/system/ulib/async-loop:async-loop-default",
"//zircon/system/ulib/fbl:fbl",
"//zircon/system/ulib/sync",
"//zircon/system/ulib/zx",
]
sources = [ "memfs_tests.cc" ]
testonly = true
}
ctf_fuchsia_component("memfs-component") {
component_name = "memfs-cts-test"
deps = [ ":memfs-cts-test" ]
manifest = "meta/memfs-cts-test.cml"
testonly = true
}
ctf_fuchsia_component("memfs-test-root") {
manifest = "meta/memfs-cts-test-root.cml"
testonly = true
}
ctf_fuchsia_test_package("memfs-test-package") {
package_name = "memfs-test-package"
test_components = [ ":memfs-test-root" ]
subpackages = GTEST_SUBPACKAGES
deps = [ ":memfs-component" ]
}
group("tests") {
testonly = true
deps = [ ":memfs-test-package" ]
}