You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

rpc-tests.sh 587B

12345678910111213141516171819
  1. #!/bin/bash
  2. set -e
  3. CURDIR=$(cd $(dirname "$0"); pwd)
  4. # Get BUILDDIR and REAL_BITCOIND
  5. . "${CURDIR}/tests-config.sh"
  6. export BITCOINCLI=${BUILDDIR}/qa/pull-tester/run-bitcoin-cli
  7. export BITCOIND=${REAL_BITCOIND}
  8. #Run the tests
  9. if [ "x${ENABLE_BITCOIND}${ENABLE_UTILS}${ENABLE_WALLET}" = "x111" ]; then
  10. ${BUILDDIR}/qa/rpc-tests/wallet.sh "${BUILDDIR}/src"
  11. ${BUILDDIR}/qa/rpc-tests/listtransactions.py --srcdir "${BUILDDIR}/src"
  12. ${BUILDDIR}/qa/rpc-tests/forknotify.py --srcdir "${BUILDDIR}/src"
  13. else
  14. echo "No rpc tests to run. Wallet, utils, and bitcoind must all be enabled"
  15. fi