mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2026-08-05 02:19:16 +00:00
tests: Support filtering integration tests
e.g. scripts/dev_cli.sh tests --integration -- --test-filter test_watchdog This used to be supported by passing "$@" but was broken when multiple hypervisor support was added. Fixes: #2182 Signed-off-by: Rob Bradford <robert.bradford@intel.com>
This commit is contained in:
@@ -221,7 +221,7 @@ sudo bash -c "echo 10 > /sys/kernel/mm/ksm/sleep_millisecs"
|
||||
sudo bash -c "echo 1 > /sys/kernel/mm/ksm/run"
|
||||
|
||||
export RUST_BACKTRACE=1
|
||||
time cargo test $features_test "tests::parallel::"
|
||||
time cargo test $features_test "tests::parallel::$test_filter"
|
||||
RES=$?
|
||||
|
||||
# Tear vhost_user_net test network down
|
||||
|
||||
Reference in New Issue
Block a user