aboutsummaryrefslogtreecommitdiff
path: root/qa/rpc-tests/create_cache.py
diff options
context:
space:
mode:
authorMarcoFalke <falke.marco@gmail.com>2016-04-29 12:51:15 +0200
committerMarcoFalke <falke.marco@gmail.com>2016-05-09 19:56:16 +0200
commitfa494dec79b9d469b7eb38d2f0b8cf9832cdc398 (patch)
tree351e0224a788a8f1c3ec201675029edc96b25f83 /qa/rpc-tests/create_cache.py
parent4e14afe42fdd468d5de11df8cc13defdcb8e83f8 (diff)
[qa] pull-tester: Run rpc test in parallel
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()