From b4d129f8b1fd07501ffe096a835366b110470b4d Mon Sep 17 00:00:00 2001 From: Gustavo Grieco <31542053+ggrieco-tob@users.noreply.github.com> Date: Wed, 7 Apr 2021 15:30:25 -0300 Subject: [PATCH] Fix the generation of EVM tests (#2426) * Update run_tests.sh * Add note for why commit was pinned Co-authored-by: Eric Kilmer --- scripts/run_tests.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scripts/run_tests.sh b/scripts/run_tests.sh index 9957a2182..7ebeb21b0 100755 --- a/scripts/run_tests.sh +++ b/scripts/run_tests.sh @@ -56,7 +56,8 @@ make_vmtests(){ if [ ! -f ethereum_vm/.done ]; then echo "Automaking VMTests" `pwd` cd ./tests/ && mkdir -p ethereum_vm/VMTests_concrete && mkdir -p ethereum_vm/VMTests_symbolic - rm -Rf vmtests; git clone https://github.com/ethereum/tests --depth=1 vmtests + # March 27, 2021. Newer commits move files around + rm -Rf vmtests; git clone https://github.com/ethereum/tests vmtests ; cd vmtests ; git checkout ff68495eb56c382b2ddcea4020259e106353b874 ; cd .. for i in ./vmtests/BlockchainTests/ValidBlocks/VMTests/*/*json; do python ./auto_generators/make_VMTests.py -f istanbul -i $i -o ethereum_vm/VMTests_concrete; done rm ethereum_vm/VMTests_concrete/test_loop*.py #too slow rm -rf ./vmtests