mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2026-08-05 02:19:16 +00:00
scripts: Wire --test-exclude through test harness
Add --test-exclude to process_common_args in test-util.sh and forward it to the performance-metrics binary from run_metrics.sh. Signed-off-by: Anatol Belski <anbelski@linux.microsoft.com>
This commit is contained in:
committed by
Rob Bradford
parent
0e7b2d68fc
commit
07479536ab
@@ -108,6 +108,10 @@ if [ -n "$test_filter" ]; then
|
|||||||
test_binary_args+=("--test-filter $test_filter")
|
test_binary_args+=("--test-filter $test_filter")
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
if [ -n "$test_exclude" ]; then
|
||||||
|
test_binary_args+=("--test-exclude $test_exclude")
|
||||||
|
fi
|
||||||
|
|
||||||
# Ensure that git commands can be run in this directory (for metrics report)
|
# Ensure that git commands can be run in this directory (for metrics report)
|
||||||
git config --global --add safe.directory "$PWD"
|
git config --global --add safe.directory "$PWD"
|
||||||
|
|
||||||
|
|||||||
@@ -122,6 +122,10 @@ process_common_args() {
|
|||||||
shift
|
shift
|
||||||
test_filter="$1"
|
test_filter="$1"
|
||||||
;;
|
;;
|
||||||
|
"--test-exclude")
|
||||||
|
shift
|
||||||
|
test_exclude="$1"
|
||||||
|
;;
|
||||||
"--build-guest-kernel")
|
"--build-guest-kernel")
|
||||||
build_kernel=true
|
build_kernel=true
|
||||||
;;
|
;;
|
||||||
|
|||||||
Reference in New Issue
Block a user