| import("//build/test/test_package.gni") |
| |
| group("tests") { |
| testonly = true |
| deps = [ |
| ":fs-tests", |
| "//src/lib/isolated_devmgr/v2_component", |
| ] |
| } |
| |
| executable("fs_tests") { |
| testonly = true |
| sources = [ |
| "fs_test.cc", |
| "read_write.cc", |
| ] |
| deps = [ |
| "//sdk/fidl/fuchsia.minfs:fuchsia.minfs_c", |
| "//sdk/lib/sys/cpp", |
| "//src/lib/fxl/test:gtest_main", |
| "//src/lib/isolated_devmgr/v2_component", |
| "//zircon/public/lib/fdio", |
| "//zircon/public/lib/zxc", |
| "//zircon/system/ulib/async-loop:async-loop-cpp", |
| "//zircon/system/ulib/block-client", |
| "//zircon/system/ulib/fs-management", |
| "//zircon/system/ulib/fvm", |
| "//zircon/system/ulib/memfs", |
| "//zircon/system/ulib/minfs", |
| ] |
| } |
| |
| test_package("fs-tests") { |
| deps = [ |
| ":fs_tests", |
| "//src/sys/test_runners/gtest", |
| "//zircon/system/uapp/minfs", |
| ] |
| binaries = [ |
| { |
| name = "fs_tests" |
| }, |
| { |
| name = "minfs" |
| }, |
| ] |
| v2_tests = [ |
| { |
| name = "fs_tests" |
| }, |
| ] |
| } |