mirror of
https://github.com/luxfi/evm.git
synced 2026-09-24 00:27:44 +00:00
23 lines
669 B
Bash
Executable File
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[@]}"
|