Skip to content

Commit

Permalink
Run evm2wasm tests using runevm
Browse files Browse the repository at this point in the history
  • Loading branch information
axic committed Aug 28, 2018
1 parent 0c9b8a8 commit 9378b58
Showing 1 changed file with 13 additions and 3 deletions.
16 changes: 13 additions & 3 deletions circle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -137,14 +137,23 @@ defaults:
command: |
~/build/evmc/test/evmc-vmtester ~/build/src/libhera.so
evm2wasm-test: &evm2wasm-test
evm2wasm-direct-test: &evm2wasm-direct-test
run:
name: "Run evm2wasm state tests"
name: "Run evm2wasm state tests (using evm2wasm.cpp directly)"
command: |
testeth --version
testeth -t GeneralStateTests/stExample -- --testpath tests --vm ~/build/src/libhera.so --singlenet Byzantium --singletest "add11" --evmc evm1mode=evm2wasm.cpp
testeth -t GeneralStateTests/stStackTests -- --testpath tests --vm ~/build/src/libhera.so --singlenet Byzantium --evmc evm1mode=evm2wasm.cpp
evm2wasm-contract-test: &evm2wasm-contract-test
run:
name: "Run evm2wasm state tests (using runevm contract)"
command: |
curl -o /tmp/runevm.wasm -L https://github.com/axic/runevm/releases/download/prototype/runevm.wasm
testeth --version
testeth -t GeneralStateTests/stExample -- --testpath tests --vm ~/build/src/libhera.so --singlenet Byzantium --singletest "add11" --evmc evm1mode=evm2wasm --evmc sys:evm2wasm=/tmp/runevm.wasm
testeth -t GeneralStateTests/stStackTests -- --testpath tests --vm ~/build/src/libhera.so --singlenet Byzantium --evmc evm1mode=evm2wasm --evmc sys:evm2wasm=/tmp/runevm.wasm
upload-coverage-data: &upload-coverage-data
run:
name: "Upload coverage data"
Expand Down Expand Up @@ -179,7 +188,8 @@ jobs:
- *test
- *test-wabt
- *evmc-test
- *evm2wasm-test
- *evm2wasm-direct-test
- *evm2wasm-contract-test

linux-gcc-shared-coverage:
environment:
Expand Down

0 comments on commit 9378b58

Please sign in to comment.