mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2026-08-05 02:19:16 +00:00
scripts: Propagate "--test-filter" metrics test
Populate iff the the parameter is passed. Following combinations tested: scripts/dev_cli.sh tests --metrics -- --test-filter boot_time scripts/dev_cli.sh tests --metrics -- --test-filter boot_time -- --report-file /root/workloads/metrics.json scripts/dev_cli.sh tests --metrics scripts/dev_cli.sh tests --metrics -- -- --report-file /root/workloads/metrics.json Fixes: #3787 Signed-off-by: Rob Bradford <robert.bradford@intel.com>
This commit is contained in:
@@ -1,7 +1,6 @@
|
||||
#!/bin/bash
|
||||
hypervisor="kvm"
|
||||
test_filter=""
|
||||
test_binary_args=()
|
||||
|
||||
cmd_help() {
|
||||
echo ""
|
||||
@@ -44,5 +43,5 @@ process_common_args() {
|
||||
die "Hypervisor value must be kvm or mshv"
|
||||
fi
|
||||
|
||||
test_binary_args="$@"
|
||||
test_binary_args=($@)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user