cloud-hypervisor/scripts
Bo Chen 4552d07a80 scripts: Support custom arguments to the test binary with dev_cli.sh
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>
2022-02-24 16:34:32 +01:00
..
check-image-compatability.sh tools: Add a script to check image compatibility 2021-10-05 14:40:10 +01:00
create-cloud-init.sh scripts: create-cloud-init: use rm -f instead of rm 2022-01-05 11:02:20 +01:00
dev_cli.sh scripts: Support custom arguments to the test binary with dev_cli.sh 2022-02-24 16:34:32 +01:00
run_cargo_tests.sh scripts: Use hypervisor variable instead of kvm 2021-01-28 09:11:02 +00:00
run_integration_tests_aarch64.sh scripts: Support custom arguments to the test binary with dev_cli.sh 2022-02-24 16:34:32 +01:00
run_integration_tests_live_migration.sh scripts: Support custom arguments to the test binary with dev_cli.sh 2022-02-24 16:34:32 +01:00
run_integration_tests_sgx.sh scripts: Support custom arguments to the test binary with dev_cli.sh 2022-02-24 16:34:32 +01:00
run_integration_tests_vfio.sh scripts: Support custom arguments to the test binary with dev_cli.sh 2022-02-24 16:34:32 +01:00
run_integration_tests_windows.sh scripts: Support custom arguments to the test binary with dev_cli.sh 2022-02-24 16:34:32 +01:00
run_integration_tests_x86_64.sh scripts: Support custom arguments to the test binary with dev_cli.sh 2022-02-24 16:34:32 +01:00
run_metrics.sh scripts: Support custom arguments to the test binary with dev_cli.sh 2022-02-24 16:34:32 +01:00
run_openapi_tests.sh ci: Add OpenAPI validation 2019-12-11 12:53:31 +00:00
run_unit_tests.sh scripts: Use cargo build-in options to run unit tests only 2022-01-10 10:29:07 +01:00
sha1sums-aarch64 tests, scripts: Update custom aarch64 image to include "stress" 2021-09-29 15:01:46 +01:00
sha1sums-x86_64 ci: Update guest cloud image by installing "stress" utility 2021-06-09 14:34:55 +01:00
test-util.sh scripts: Support custom arguments to the test binary with dev_cli.sh 2022-02-24 16:34:32 +01:00