Skip to content

Commit 39f346a

Browse files
committed
test: run mmap.rs tests with all available backends
Currently, these tests are run either with the Xen backend, or the mmap backend, depending on which cargo features are enabled. But since the xen feature disables mmap_unix, effectively this means if we do cargo test --all-features, only the xen backend is tested. Refactor our testing story to support running tests with _all_ available backends, so that in a world where both the xen and non-xen backends can coexist, tests will be run for both if --all-features is passed. This won't win beauty contests, but it works for now. Signed-off-by: Patrick Roy <[email protected]>
1 parent 6fb2b8c commit 39f346a

File tree

1 file changed

+307
-238
lines changed

1 file changed

+307
-238
lines changed

0 commit comments

Comments
 (0)