aboutsummaryrefslogtreecommitdiff
path: root/qa/rpc-tests/test_framework/test_framework.py
diff options
context:
space:
mode:
authorMarcoFalke <[email protected]>2016-05-15 11:06:23 +0200
committerMarcoFalke <[email protected]>2016-05-20 09:18:41 +0200
commitfa57b0c5ef8101e1228d17a2bdce28a36e6f2ff6 (patch)
tree7f5d85a06d051f839484a1b5f41d93bb7bb3c378 /qa/rpc-tests/test_framework/test_framework.py
parentMerge #8070: Remove non-determinism which is breaking net_tests #8069 (diff)
downloaddiscoin-fa57b0c5ef8101e1228d17a2bdce28a36e6f2ff6.tar.xz
discoin-fa57b0c5ef8101e1228d17a2bdce28a36e6f2ff6.zip
[qa] test_framework: Append portseed to tmpdir
This makes it possible to specify a tmpdir while running tests in parallel
Diffstat (limited to 'qa/rpc-tests/test_framework/test_framework.py')
-rwxr-xr-xqa/rpc-tests/test_framework/test_framework.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/qa/rpc-tests/test_framework/test_framework.py b/qa/rpc-tests/test_framework/test_framework.py
index 3480de6c6..091378186 100755
--- a/qa/rpc-tests/test_framework/test_framework.py
+++ b/qa/rpc-tests/test_framework/test_framework.py
@@ -115,6 +115,8 @@ class BitcoinTestFramework(object):
self.add_options(parser)
(self.options, self.args) = parser.parse_args()
+ self.options.tmpdir += '/' + str(self.options.port_seed)
+
if self.options.trace_rpc:
logging.basicConfig(level=logging.DEBUG, stream=sys.stdout)