Hi folks,
Some changes have landed recently that mean it's now possible to easily run the filesystem test suite against filesystem implementations (including out-of-tree implementations).
It should be as simple as adding something like:
import("//src/storage/fs_test/suite.gni")
fs_test_suite("anyfs") {
# The dependencies should include the filesystem binary.
deps = [ ":anyfs_bin" ]
config = {
timestamp_granularity = 1
supports_hard_links = true
supports_resize = true
max_file_size = 9223372036854775807
}
}
The schema of the config and other aspects of the template are subject to change so shouldn't be considered stable (yet).
Feedback is welcome.
Cheers,
Chris