Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 8 additions & 1 deletion ci/runtests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -59,14 +59,21 @@ declare -a FEATURES=(
"$FEATURES_ASYNC"
)

# mctp-estack, sync an async
# mctp-estack, sync and async
(
cd mctp-estack
for feature in "${FEATURES[@]}"; do
cargo test --features="$feature"
done;
)

# Linux programs and examples
# Tested individually to ensure each defines necessary features itself
LINUX_PROGRAMS="mctp-linux pldm-platform-util pldm-fw-cli mctp-standalone pldm-file pldm-platform"
for c in $LINUX_PROGRAMS; do
cargo check -p $c --all-targets
done

# run cargo doc tests
for feature in "${FEATURES[@]}"; do
cargo doc --features="$feature"
Expand Down
2 changes: 1 addition & 1 deletion mctp-linux/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ categories = ["network-programming", "embedded", "hardware-support", "os::linux-

[dependencies]
libc = "0.2"
mctp = { workspace = true }
mctp = { workspace = true, features = ["std"] }
smol = { workspace = true }

[[example]]
Expand Down
Loading