[qa] test_framework: Append portseed to tmpdir

This makes it possible to specify a tmpdir while running tests in
parallel
This commit is contained in:
MarcoFalke 2016-05-15 11:06:23 +02:00
parent 7771aa57bd
commit fa57b0c5ef

View File

@ -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)