RPC-test based on invalidateblock for mempool coinbase spends
[bitcoinplatinum.git] / qa / pull-tester / rpc-tests.sh
blobd6ee00bb7df06a310ae270f5e6c64835a64072ba
1 #!/bin/bash
2 set -e
4 CURDIR=$(cd $(dirname "$0"); pwd)
5 # Get BUILDDIR and REAL_BITCOIND
6 . "${CURDIR}/tests-config.sh"
8 export BITCOINCLI=${BUILDDIR}/qa/pull-tester/run-bitcoin-cli
9 export BITCOIND=${REAL_BITCOIND}
11 if [ "x${EXEEXT}" = "x.exe" ]; then
12 echo "Win tests currently disabled"
13 exit 0
16 #Run the tests
18 if [ "x${ENABLE_BITCOIND}${ENABLE_UTILS}${ENABLE_WALLET}" = "x111" ]; then
19 ${BUILDDIR}/qa/rpc-tests/wallet.py --srcdir "${BUILDDIR}/src"
20 ${BUILDDIR}/qa/rpc-tests/listtransactions.py --srcdir "${BUILDDIR}/src"
21 ${BUILDDIR}/qa/rpc-tests/mempool_resurrect_test.py --srcdir "${BUILDDIR}/src"
22 ${BUILDDIR}/qa/rpc-tests/txn_doublespend.py --srcdir "${BUILDDIR}/src"
23 ${BUILDDIR}/qa/rpc-tests/txn_doublespend.py --mineblock --srcdir "${BUILDDIR}/src"
24 ${BUILDDIR}/qa/rpc-tests/getchaintips.py --srcdir "${BUILDDIR}/src"
25 ${BUILDDIR}/qa/rpc-tests/rest.py --srcdir "${BUILDDIR}/src"
26 ${BUILDDIR}/qa/rpc-tests/mempool_spendcoinbase.py --srcdir "${BUILDDIR}/src"
27 ${BUILDDIR}/qa/rpc-tests/httpbasics.py --srcdir "${BUILDDIR}/src"
28 ${BUILDDIR}/qa/rpc-tests/mempool_coinbase_spends.py --srcdir "${BUILDDIR}/src"
29 #${BUILDDIR}/qa/rpc-tests/forknotify.py --srcdir "${BUILDDIR}/src"
30 else
31 echo "No rpc tests to run. Wallet, utils, and bitcoind must all be enabled"