Browse Source

[qa] test_framework: Append portseed to tmpdir

This makes it possible to specify a tmpdir while running tests in
parallel
0.13
MarcoFalke 9 years ago
parent
commit
fa57b0c5ef
  1. 2
      qa/rpc-tests/test_framework/test_framework.py

2
qa/rpc-tests/test_framework/test_framework.py

@ -115,6 +115,8 @@ class BitcoinTestFramework(object):
self.add_options(parser) self.add_options(parser)
(self.options, self.args) = parser.parse_args() (self.options, self.args) = parser.parse_args()
self.options.tmpdir += '/' + str(self.options.port_seed)
if self.options.trace_rpc: if self.options.trace_rpc:
logging.basicConfig(level=logging.DEBUG, stream=sys.stdout) logging.basicConfig(level=logging.DEBUG, stream=sys.stdout)

Loading…
Cancel
Save