mirror of
https://github.com/luxfi/evm.git
synced 2026-09-24 00:27:44 +00:00
- Fixed merge conflicts in precompile_config_test.go - Fixed merge conflicts in block_test.go - Fixed merge conflicts in test_statedb.go
21 lines
711 B
Bash
Executable File
21 lines
711 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
set -o errexit
|
|
set -o nounset
|
|
set -o pipefail
|
|
# TODO(marun) Ensure the working directory is the repository root or a non-canonical set of tests may be executed
|
|
|
|
# Root directory
|
|
SUBNET_EVM_PATH=$(
|
|
cd "$(dirname "${BASH_SOURCE[0]}")"
|
|
cd .. && pwd
|
|
)
|
|
|
|
# Load the constants
|
|
source "$SUBNET_EVM_PATH"/scripts/constants.sh
|
|
|
|
# We pass in the arguments to this script directly to enable easily passing parameters such as enabling race detection,
|
|
# parallelism, and test coverage.
|
|
# DO NOT RUN tests from the top level "tests" directory since they are run by ginkgo
|
|
go test -coverprofile=coverage.out -covermode=atomic -timeout="30m" $@ $(go list ./... | grep -v github.com/luxfi/evm/tests)
|