mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-07-21 18:53:30 +00:00
cargo: add a workspace and run all the tests in the workspace
Add a worksapce and run all of the tests in under this workspace. Fixes:#155 Signed-off-by: fupan.lfp <fupan.lfp@antfin.com>
This commit is contained in:
parent
35c33bba47
commit
245183cb28
@ -31,3 +31,12 @@ slog = { version = "2.5.2", features = ["dynamic-keys", "max_level_trace", "rele
|
|||||||
slog-scope = "4.1.2"
|
slog-scope = "4.1.2"
|
||||||
# for testing
|
# for testing
|
||||||
tempfile = "3.1.0"
|
tempfile = "3.1.0"
|
||||||
|
|
||||||
|
[workspace]
|
||||||
|
members = [
|
||||||
|
"logging",
|
||||||
|
"netlink",
|
||||||
|
"oci",
|
||||||
|
"protocols",
|
||||||
|
"rustjail",
|
||||||
|
]
|
||||||
|
@ -90,7 +90,7 @@ clean:
|
|||||||
@cargo clean
|
@cargo clean
|
||||||
|
|
||||||
check:
|
check:
|
||||||
@cargo test --target $(TRIPLE)
|
@cargo test --all --target $(TRIPLE)
|
||||||
|
|
||||||
run:
|
run:
|
||||||
@cargo run --target $(TRIPLE)
|
@cargo run --target $(TRIPLE)
|
||||||
|
Loading…
Reference in New Issue
Block a user