Skip to content

Commit 344e08e

Browse files
committed
extend rpc-tests.sh control script with non-travis tests
1 parent 64937fe commit 344e08e

File tree

1 file changed

+24
-1
lines changed

1 file changed

+24
-1
lines changed

qa/pull-tester/rpc-tests.sh

Lines changed: 24 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,21 @@ testScripts=(
3131
'proxy_test.py'
3232
'merkle_blocks.py'
3333
'signrawtransactions.py'
34+
);
35+
testScriptsExt=(
36+
'bipdersig-p2p.py'
37+
'bipdersig.py'
38+
'getblocktemplate_longpoll.py'
39+
'getblocktemplate_proposals.py'
40+
'prune.py'
41+
'forknotify.py'
42+
'invalidateblock.py'
43+
'keypool.py'
44+
'receivedby.py'
45+
'reindex.py'
46+
'rpcbind_test.py'
47+
'script_test.py'
48+
'smartfees.py'
3449
'maxblocksinflight.py'
3550
'invalidblockrequest.py'
3651
'rawtransactions.py'
@@ -39,12 +54,20 @@ testScripts=(
3954
if [ "x${ENABLE_BITCOIND}${ENABLE_UTILS}${ENABLE_WALLET}" = "x111" ]; then
4055
for (( i = 0; i < ${#testScripts[@]}; i++ ))
4156
do
42-
if [ -z "$1" ] || [ "$1" == "${testScripts[$i]}" ] || [ "$1.py" == "${testScripts[$i]}" ]
57+
if [ -z "$1" ] || [ "$1" == "-extended" ] || [ "$1" == "${testScripts[$i]}" ] || [ "$1.py" == "${testScripts[$i]}" ]
4358
then
4459
echo -e "Running testscript \033[1m${testScripts[$i]}...\033[0m"
4560
${BUILDDIR}/qa/rpc-tests/${testScripts[$i]} --srcdir "${BUILDDIR}/src"
4661
fi
4762
done
63+
for (( i = 0; i < ${#testScriptsExt[@]}; i++ ))
64+
do
65+
if [ "$1" == "-extended" ] || [ "$1" == "${testScriptsExt[$i]}" ] || [ "$1.py" == "${testScriptsExt[$i]}" ]
66+
then
67+
echo -e "Running testscript \033[1m${testScriptsExt[$i]}...\033[0m"
68+
${BUILDDIR}/qa/rpc-tests/${testScriptsExt[$i]} --srcdir "${BUILDDIR}/src"
69+
fi
70+
done
4871
else
4972
echo "No rpc tests to run. Wallet, utils, and bitcoind must all be enabled"
5073
fi

0 commit comments

Comments
 (0)