Files
evm/scripts/run_ginkgo_load.sh
2025-08-01 01:23:42 +00:00

23 lines
669 B
Bash
Executable File

#!/usr/bin/env bash
set -e
# This script assumes that an Luxd and Subnet-EVM binaries are available in the standard location
# within the $GOPATH
# The Luxd and PluginDir paths can be specified via the environment variables used in ./scripts/run.sh.
EVM_PATH=$(
cd "$(dirname "${BASH_SOURCE[0]}")"
cd .. && pwd
)
source "$EVM_PATH"/scripts/constants.sh
EXTRA_ARGS=()
LUXD_BUILD_PATH="${LUXD_BUILD_PATH:-}"
if [[ -n "${LUXD_BUILD_PATH}" ]]; then
EXTRA_ARGS=("--luxd-path=${LUXD_BUILD_PATH}/luxd")
echo "Running with extra args:" "${EXTRA_ARGS[@]}"
fi
"${EVM_PATH}"/bin/ginkgo -vv --label-filter="${GINKGO_LABEL_FILTER:-}" ./tests/load -- "${EXTRA_ARGS[@]}"