diff options
author | Felix Lange <fjl@twurst.com> | 2016-10-06 05:55:47 +0800 |
---|---|---|
committer | Felix Lange <fjl@twurst.com> | 2016-10-06 21:36:21 +0800 |
commit | 1b7b2ba2163c7b2b2acc0c4f107951ad873cd8a4 (patch) | |
tree | 0d8d9cd20dc8584599209cbce1cffae0b0e0516d /tests/files/ansible/test-files/testrunner.sh | |
parent | 2acb9a6ea7ddab541122ede96f2275598ae36931 (diff) | |
download | go-tangerine-1b7b2ba2163c7b2b2acc0c4f107951ad873cd8a4.tar go-tangerine-1b7b2ba2163c7b2b2acc0c4f107951ad873cd8a4.tar.gz go-tangerine-1b7b2ba2163c7b2b2acc0c4f107951ad873cd8a4.tar.bz2 go-tangerine-1b7b2ba2163c7b2b2acc0c4f107951ad873cd8a4.tar.lz go-tangerine-1b7b2ba2163c7b2b2acc0c4f107951ad873cd8a4.tar.xz go-tangerine-1b7b2ba2163c7b2b2acc0c4f107951ad873cd8a4.tar.zst go-tangerine-1b7b2ba2163c7b2b2acc0c4f107951ad873cd8a4.zip |
tests: update test files from github.com/ethereum/tests @ 45bc1d21d3c1
Two new tests are skipped because they're buggy. Making some newer
random state tests work required implementing the 'compressed return
value encoding'.
Diffstat (limited to 'tests/files/ansible/test-files/testrunner.sh')
-rwxr-xr-x | tests/files/ansible/test-files/testrunner.sh | 57 |
1 files changed, 0 insertions, 57 deletions
diff --git a/tests/files/ansible/test-files/testrunner.sh b/tests/files/ansible/test-files/testrunner.sh deleted file mode 100755 index c7763b1f1..000000000 --- a/tests/files/ansible/test-files/testrunner.sh +++ /dev/null @@ -1,57 +0,0 @@ -#!/bin/bash - -# create random virtual machine test - -mkdir --parents ~/testout -cd ~/testout -export EVMJIT="-cache=0" -while [ 1 ] -do - TEST="$(docker run --rm --entrypoint=\"/cpp-ethereum/build/test/createRandomStateTest\" ethereum/cppjit-testrunner)" - # echo "$TEST" - - # test pyethereum - OUTPUT_PYTHON="$(docker run --rm ethereum/python-testrunner --notrace <<< "$TEST")" - RESULT_PYTHON=$? - - # test go - OUTPUT_GO="$(docker run --rm ethereum/go-testrunner "$TEST")" - RESULT_GO=$? - - # test cpp-jit - OUTPUT_CPPJIT="$(docker run --rm ethereum/cppjit-testrunner "$TEST")" - RESULT_CPPJIT=$? - - # go fails - if [ "$RESULT_GO" -ne 0 ]; then - echo Failed: - echo Output_GO: - echo $OUTPUT_GO - echo Test: - echo "$TEST" - echo "$TEST" > FailedTest.json - mv FailedTest.json $(date -d "today" +"%Y%m%d%H%M")GO.json # replace with scp to central server - fi - - # python fails - if [ "$RESULT_PYTHON" -ne 0 ]; then - echo Failed: - echo Output_PYTHON: - echo $OUTPUT_PYTHON - echo Test: - echo "$TEST" - echo "$TEST" > FailedTest.json - mv FailedTest.json $(date -d "today" +"%Y%m%d%H%M")PYTHON.json - fi - - # cppjit fails - if [ "$RESULT_CPPJIT" -ne 0 ]; then - echo Failed: - echo Output_CPPJIT: - echo $OUTPUT_CPPJIT - echo Test: - echo "$TEST" - echo "$TEST" > FailedTest.json - mv FailedTest.json $(date -d "today" +"%Y%m%d%H%M")CPPJIT.json - fi -done |