Skip to content

Commit

Permalink
cargo: add a workspace and run all the tests in the workspace
Browse files Browse the repository at this point in the history
Add a worksapce and run all of the tests in
under this workspace.

Fixes:kata-containers#155

Signed-off-by: fupan.lfp <fupan.lfp@antfin.com>
  • Loading branch information
lifupan committed Mar 16, 2020
1 parent 35c33bb commit 245183c
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
9 changes: 9 additions & 0 deletions src/agent/Cargo.toml
Expand Up @@ -31,3 +31,12 @@ slog = { version = "2.5.2", features = ["dynamic-keys", "max_level_trace", "rele
slog-scope = "4.1.2"
# for testing
tempfile = "3.1.0"

[workspace]
members = [
"logging",
"netlink",
"oci",
"protocols",
"rustjail",
]
2 changes: 1 addition & 1 deletion src/agent/Makefile
Expand Up @@ -90,7 +90,7 @@ clean:
@cargo clean

check:
@cargo test --target $(TRIPLE)
@cargo test --all --target $(TRIPLE)

run:
@cargo run --target $(TRIPLE)
Expand Down

0 comments on commit 245183c

Please sign in to comment.