mirror of
https://github.com/rustfs/rustfs.git
synced 2026-08-29 03:45:46 +08:00
test(rustfs): move manual bench tools to examples, gate Swift suites (#6712)
This commit is contained in:
@@ -82,7 +82,7 @@ run_rust_helper_fallback() {
|
||||
helper_out_dir="$PWD/$helper_out_dir"
|
||||
fi
|
||||
|
||||
echo "mc not found; falling back to rustfs/tests/gt1g_get_benchmark_tool.rs"
|
||||
echo "mc not found; falling back to rustfs/examples/gt1g_get_benchmark_tool.rs"
|
||||
GT1G_GET_ACTION=prepare \
|
||||
GT1G_GET_ENDPOINT="$ENDPOINT" \
|
||||
GT1G_GET_ACCESS_KEY="$ACCESS_KEY" \
|
||||
@@ -92,7 +92,7 @@ run_rust_helper_fallback() {
|
||||
GT1G_GET_OBJECTS="$objects_arg" \
|
||||
GT1G_GET_OUT_DIR="${helper_out_dir:-$PWD/target/bench/issue713-prepare-helper}" \
|
||||
GT1G_GET_FORCE="$([[ "$FORCE" == "true" ]] && echo true || echo false)" \
|
||||
cargo test -p rustfs --test gt1g_get_benchmark_tool gt1g_get_benchmark_tool -- --ignored --nocapture
|
||||
cargo run -p rustfs --example gt1g_get_benchmark_tool
|
||||
}
|
||||
|
||||
parse_args() {
|
||||
|
||||
Reference in New Issue
Block a user