mirror of
https://github.com/luxfi/evm.git
synced 2026-09-24 00:27:44 +00:00
24 lines
692 B
Bash
Executable File
24 lines
692 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
set -euo pipefail
|
|
|
|
# This script assumes that a Lux and EVM binaries are available in the standard location
|
|
# within the $GOPATH
|
|
# The Lux and PluginDir paths can be specified via the environment variables used in ./scripts/run.sh.
|
|
|
|
SUBNET_EVM_PATH=$(
|
|
cd "$(dirname "${BASH_SOURCE[0]}")"
|
|
cd .. && pwd
|
|
)
|
|
|
|
source "$SUBNET_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
|
|
|
|
"${SUBNET_EVM_PATH}"/bin/ginkgo -vv --label-filter="${GINKGO_LABEL_FILTER:-}" ./tests/warp -- "${EXTRA_ARGS[@]}"
|