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 Jan 27, 2019
1 parent 142b35c commit 866e12c
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions circle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -184,14 +184,14 @@ defaults:
command: |
~/build/evmc/test/evmc-vmtester ~/build/src/libhera.so
# evm2wasm-test: &evm2wasm-test
# run:
# name: "Run evm2wasm state tests"
# command: |
# if [[ $PRELOAD_ASAN ]]; then export LD_PRELOAD=/usr/lib/clang/6.0/lib/linux/libclang_rt.asan-x86_64.so; fi
# 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-test: &evm2wasm-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:
Expand Down Expand Up @@ -228,7 +228,7 @@ jobs:
- *test-wabt
- *test-wavm
- *evmc-test
# - *evm2wasm-test
- *evm2wasm-test

linux-clang-shared-asan:
environment:
Expand Down Expand Up @@ -257,7 +257,7 @@ jobs:
- *test-wabt
- *test-wavm
- *evmc-test
# - *evm2wasm-test
- *evm2wasm-test

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

0 comments on commit 866e12c

Please sign in to comment.