remove "--experimental:forLoopMacros" and add an example of running a single JSON test

Ștefan Talpalaru 2018-11-26 22:41:49 +01:00
parent 01c67f0dbb
commit 06e56ce3fc
1 changed files with 6 additions and 1 deletions

@ -13,7 +13,12 @@ nim c -o:build/decompile_smart_contract -r examples/decompile_smart_contract.nim
Run Ethereum [JSON-based general state tests](https://github.com/ethereum/tests/):
```
mkdir -p build
nim c -o:build/test_generalstate_json -r --experimental:forLoopMacros tests/test_generalstate_json.nim
nim c -o:build/test_generalstate_json -r tests/test_generalstate_json.nim
```
Build and run an individual test:
```
nim c -o:build/test_generalstate_json -r tests/test_generalstate_json.nim tests/fixtures/GeneralStateTests/stAttackTest/ContractCreationSpam.json
```
## VMTests