Skip to content

Commit 4064d1b

Browse files
jiangliubergwolf
authored andcommitted
build: enhance makefile to cover feature persist
Enhance makefile to cover feature persist. Signed-off-by: Jiang Liu <[email protected]>
1 parent 20da8b1 commit 4064d1b

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,11 +22,11 @@ async-trait = { version = "0.1.42", optional = true }
2222
bitflags = "1.1"
2323
dbs-snapshot = { version = "1.5.0", optional = true }
2424
io-uring = { version = "0.5.8", optional = true }
25+
lazy_static = "1.4"
2526
libc = "0.2.68"
2627
log = "0.4.6"
2728
mio = { version = "0.8", features = ["os-poll", "os-ext"] }
2829
nix = "0.24"
29-
lazy_static = "1.4"
3030
tokio = { version = "1", optional = true }
3131
tokio-uring = { version = "0.4.0", optional = true }
3232
vmm-sys-util = { version = "0.11", optional = true }

Makefile

+4-2
Original file line numberDiff line numberDiff line change
@@ -33,12 +33,14 @@ check: build
3333
cargo test --features="virtiofs,async-io" --no-default-features -- --nocapture --skip integration
3434
cargo test --features="vhost-user-fs,async-io" --no-default-features -- --nocapture --skip integration
3535
cargo test --features="fusedev,virtiofs,async-io" --no-default-features -- --nocapture --skip integration
36+
cargo test --features="fusedev,persist" --no-default-features -- --nocapture --skip integration
37+
cargo test --all-features -- --nocapture --skip integration
3638

3739
smoke: check
38-
cargo test --features="fusedev" -- --nocapture
40+
cargo test --features="fusedev,persist" -- --nocapture
3941

4042
smoke-all: smoke
41-
cargo test --features="fusedev" -- --nocapture --ignored
43+
cargo test --features="fusedev,persist" -- --nocapture --ignored
4244

4345
smoke-macos: check-macos
4446
cargo test --features="fusedev,fuse-t" -- --nocapture

0 commit comments

Comments
 (0)