Skip to content

Commit

Permalink
Fix the generation of EVM tests (#2426)
Browse files Browse the repository at this point in the history
* Update run_tests.sh

* Add note for why commit was pinned

Co-authored-by: Eric Kilmer <[email protected]>
  • Loading branch information
ggrieco-tob and ekilmer authored Apr 7, 2021
1 parent 47326e6 commit b4d129f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion scripts/run_tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit b4d129f

Please sign in to comment.