mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2024-12-22 21:55:20 +00:00
scripts: Remove the workaround for "with-serde" in unit tests on AArch64
Signed-off-by: Michael Zhao <michael.zhao@arm.com>
This commit is contained in:
parent
afc98a5ec9
commit
a4222afd7c
@ -6,7 +6,6 @@ BUILD_TARGET=${BUILD_TARGET-x86_64-unknown-linux-gnu}
|
|||||||
cargo_args=("$@")
|
cargo_args=("$@")
|
||||||
[ $(uname -m) = "aarch64" ] && cargo_args+=("--no-default-features")
|
[ $(uname -m) = "aarch64" ] && cargo_args+=("--no-default-features")
|
||||||
[ $(uname -m) = "aarch64" ] && cargo_args+=("--features mmio,kvm")
|
[ $(uname -m) = "aarch64" ] && cargo_args+=("--features mmio,kvm")
|
||||||
[ $(uname -m) = "aarch64" ] && sed -i 's/"with-serde",\ //g' hypervisor/Cargo.toml
|
|
||||||
|
|
||||||
cargo test --target $BUILD_TARGET --workspace --no-run ${cargo_args[@]}
|
cargo test --target $BUILD_TARGET --workspace --no-run ${cargo_args[@]}
|
||||||
pushd target/$BUILD_TARGET/debug
|
pushd target/$BUILD_TARGET/debug
|
||||||
|
Loading…
Reference in New Issue
Block a user