Integration tests via RPC calls

qa/rpc-tests/wallet.sh runs a three-node -regtest network,
generates a fresh blockchain, and then exercises basic wallet
sending/receiving functionality using command-line RPC.
This commit is contained in:
Gavin Andresen
2013-11-21 16:57:25 +10:00
parent 03b6a1cee4
commit 9e7776bf1f
4 changed files with 190 additions and 0 deletions

View File

@@ -68,6 +68,9 @@ fi
cd @abs_top_srcdir@/linux-build
make check
# Run RPC integration test on Linux:
@abs_top_srcdir@/qa/rpc-tests/wallet.sh @abs_top_srcdir@/linux-build/src
if [ $RUN_EXPENSIVE_TESTS = 1 ]; then
# Run unit tests and blockchain-tester on Windows:
cd @abs_top_srcdir@/win32-build