diff options
author | zelig <viktor.tron@gmail.com> | 2015-02-25 21:06:59 +0800 |
---|---|---|
committer | zelig <viktor.tron@gmail.com> | 2015-02-25 21:38:37 +0800 |
commit | 16ecda951b767800b4e09ad8e86e0866b05136be (patch) | |
tree | dfb4defb949713c03e05988de1abae5123733cf5 /eth/test/run.sh | |
parent | cdc86965cb38335b97d0bef337e0a53ed7c7f7e3 (diff) | |
download | go-tangerine-16ecda951b767800b4e09ad8e86e0866b05136be.tar go-tangerine-16ecda951b767800b4e09ad8e86e0866b05136be.tar.gz go-tangerine-16ecda951b767800b4e09ad8e86e0866b05136be.tar.bz2 go-tangerine-16ecda951b767800b4e09ad8e86e0866b05136be.tar.lz go-tangerine-16ecda951b767800b4e09ad8e86e0866b05136be.tar.xz go-tangerine-16ecda951b767800b4e09ad8e86e0866b05136be.tar.zst go-tangerine-16ecda951b767800b4e09ad8e86e0866b05136be.zip |
integrate blockpool into eth
- remove blockpool code
- remove blockpool integration test (kinda embarrassing)
- remove errors.go
Diffstat (limited to 'eth/test/run.sh')
-rw-r--r-- | eth/test/run.sh | 53 |
1 files changed, 0 insertions, 53 deletions
diff --git a/eth/test/run.sh b/eth/test/run.sh deleted file mode 100644 index 5229af035..000000000 --- a/eth/test/run.sh +++ /dev/null @@ -1,53 +0,0 @@ -#!/bin/bash -# bash run.sh (testid0 testid1 ...) -# runs tests tests/testid0.sh tests/testid1.sh ... -# without arguments, it runs all tests - -. tests/common.sh - -TESTS= - -if [ "$#" -eq 0 ]; then - for NAME in tests/??.sh; do - i=`basename $NAME .sh` - TESTS="$TESTS $i" - done -else - TESTS=$@ -fi - -ETH=../../ethereum -DIR="/tmp/eth.test/nodes" -TIMEOUT=10 - -mkdir -p $DIR/js - -echo "running tests $TESTS" -for NAME in $TESTS; do - PIDS= - CHAIN="tests/$NAME.chain" - JSFILE="$DIR/js/$NAME.js" - CHAIN_TEST="$DIR/$NAME/chain" - - echo "RUN: test $NAME" - cat tests/common.js > $JSFILE - . tests/$NAME.sh - sleep $TIMEOUT - echo "timeout after $TIMEOUT seconds: killing $PIDS" - kill $PIDS - if [ -r "$CHAIN" ]; then - if diff $CHAIN $CHAIN_TEST >/dev/null ; then - echo "chain ok: $CHAIN=$CHAIN_TEST" - else - echo "FAIL: chains differ: expected $CHAIN ; got $CHAIN_TEST" - continue - fi - fi - ERRORS=$DIR/errors - if [ -r "$ERRORS" ]; then - echo "FAIL: " - cat $ERRORS - else - echo PASS - fi -done
\ No newline at end of file |