#!/bin/bash set -xe if [ -z "$RUST_LOG" ]; then echo "Setting RUST_LOG=info for your convenience." export RUST_LOG=info fi target="networks/basic" cd "$(git rev-parse --show-toplevel)" ./tests/chutney/setup cargo run -p arti-bench --release -- -c "${CHUTNEY_PATH}/net/nodes/arti.toml" "$@" "${CHUTNEY_PATH}"/chutney stop "${CHUTNEY_PATH}/$target"