mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2025-01-21 20:15:21 +00:00
4552d07a80
The dev container interface script (e.g. 'dev_cli.sh') now supports the following arguments syntax for running tests: `tests [--unit|--cargo|--all] [--libc musl|gnu] [-- [<test scripts args>] [-- [<test binary args>]]] ` In this way, we can pass custom arguments to the test binary (either "cargo test" or "performance-metrics") with our dev container script. For example: `$ ./dev_cli.sh tests --metrics -- -- --report-file /tmp/metrics.json --test-filter latency` `$ ./dev_cli.sh tests --integration -- --test-filter "test_serial" -- --nocapture --test-threads=1` Fixes: #3739 Signed-off-by: Bo Chen <chen.bo@intel.com>