mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2026-08-05 02:19:16 +00:00
scripts: dev_cli: Pass unit and integration test args to cargo test
In order, among other things, to use the development CLI to run specific integration tests. For example, to run only the memory_overhead integration test: ./scripts/dev_cli.sh tests --integration -- memory_overhead Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
This commit is contained in:
@@ -10,5 +10,5 @@ popd
|
||||
sudo adduser $USER kvm
|
||||
newgrp kvm << EOF || exit 1
|
||||
export RUST_BACKTRACE=1
|
||||
cargo test --workspace || exit 1;
|
||||
cargo test --workspace "$@" || exit 1;
|
||||
EOF
|
||||
|
||||
Reference in New Issue
Block a user