mirror of
https://gitlab.com/pulsechaincom/erigon-pulse.git
synced 2024-12-22 11:41:19 +00:00
a7e63da066
Consensus Specification Tests takes less than 8 minutes so I think they can be in a PR's own CI for whenever it is ready. for reference it is less than make test
20 lines
617 B
Makefile
20 lines
617 B
Makefile
.PHONY: clean setup example run clean
|
|
|
|
|
|
tests:
|
|
GIT_LFS_SKIP_SMUDGE=1 git clone https://github.com/ethereum/consensus-spec-tests
|
|
cd consensus-spec-tests && git checkout 70dc28b18c71f3ae080c02f51bd3421e0b60609b && git lfs pull --exclude=tests/general,tests/minimal && cd ..
|
|
mv consensus-spec-tests/tests .
|
|
rm -rf consensus-spec-tests
|
|
rm -rf tests/minimal
|
|
# not needed for now
|
|
rm -rf tests/mainnet/eip6110
|
|
# will not implement until i see it on a testnet
|
|
rm -rf tests/mainnet/deneb
|
|
|
|
clean:
|
|
rm -rf tests
|
|
|
|
mainnet:
|
|
CGO_CFLAGS=-D__BLST_PORTABLE__ go test -tags=spectest -run=/mainnet -failfast -v --timeout 30m
|