Files
evm/scripts/run_ginkgo_warp.sh
2024-01-03 09:50:41 +01:00

39 lines
1.2 KiB
Bash
Executable File

#!/usr/bin/env bash
set -e
<<<<<<< HEAD
<<<<<<< HEAD
# This script assumes that an Lux Node and Subnet-EVM binaries are available in the standard location
# within the $GOPATH
# The Lux Node and PluginDir paths can be specified via the environment variables used in ./scripts/run.sh.
=======
# This script assumes that an Luxd and Subnet-EVM binaries are available in the standard location
=======
# This script assumes that an Luxd and EVM binaries are available in the standard location
>>>>>>> fd08c47 (Update import path)
# within the $GOPATH
# The Luxd and PluginDir paths can be specified via the environment variables used in ./scripts/run.sh.
>>>>>>> b36c20f (Update executable to luxd)
# Load the versions
SUBNET_EVM_PATH=$(
cd "$(dirname "${BASH_SOURCE[0]}")"
cd .. && pwd
)
source "$SUBNET_EVM_PATH"/scripts/constants.sh
source "$SUBNET_EVM_PATH"/scripts/versions.sh
# Build ginkgo
# to install the ginkgo binary (required for test build and run)
go install -v github.com/onsi/ginkgo/v2/ginkgo@${GINKGO_VERSION}
TEST_SOURCE_ROOT=$(pwd)
ACK_GINKGO_RC=true ginkgo build ./tests/warp
./tests/warp/warp.test \
--ginkgo.vv \
--ginkgo.label-filter=${GINKGO_LABEL_FILTER:-""}