aboutsummaryrefslogtreecommitdiff
path: root/qa/rpc-tests/create_cache.py
diff options
context:
space:
mode:
authorMarcoFalke <falke.marco@gmail.com>2016-05-10 18:27:31 +0200
committerMarcoFalke <falke.marco@gmail.com>2016-05-10 18:28:48 +0200
commit423ca302a3ee87000530da3c105f269b8fabece7 (patch)
tree6cf77faa1680561a0ec44ce9679f80b932e3d4db /qa/rpc-tests/create_cache.py
parent373b50debaa995ee1f55a5a6504b628aeac9a80f (diff)
parentccccc591a456f9a8fcf5f8e68a5bacdbbaeb0937 (diff)
downloadbitcoin-423ca302a3ee87000530da3c105f269b8fabece7.tar.xz
Merge #7972: [qa] pull-tester: Run rpc test in parallel
ccccc59 [qa] Add option --portseed to test_framework (MarcoFalke) fa494de [qa] pull-tester: Run rpc test in parallel (MarcoFalke)
Diffstat (limited to 'qa/rpc-tests/create_cache.py')
-rwxr-xr-xqa/rpc-tests/create_cache.py23
1 files changed, 23 insertions, 0 deletions
diff --git a/qa/rpc-tests/create_cache.py b/qa/rpc-tests/create_cache.py
new file mode 100755
index 0000000000..b6161e0917
--- /dev/null
+++ b/qa/rpc-tests/create_cache.py
@@ -0,0 +1,23 @@
+#!/usr/bin/env python3
+# Copyright (c) 2016 The Bitcoin Core developers
+# Distributed under the MIT software license, see the accompanying
+# file COPYING or http://www.opensource.org/licenses/mit-license.php.
+
+#
+# Helper script to create the cache
+# (see BitcoinTestFramework.setup_chain)
+#
+
+from test_framework.test_framework import BitcoinTestFramework
+
+class CreateCache(BitcoinTestFramework):
+
+ def setup_network(self):
+ # Don't setup any test nodes
+ self.options.noshutdown = True
+
+ def run_test(self):
+ pass
+
+if __name__ == '__main__':
+ CreateCache().main()