mirror of
https://github.com/dashpay/dash.git
synced 2024-12-25 20:12:57 +01:00
[qa] test_framework: Exit when tmpdir exists
This commit is contained in:
parent
1253f8692f
commit
fae19aa1da
@ -139,16 +139,11 @@ class BitcoinTestFramework(object):
|
||||
|
||||
success = False
|
||||
try:
|
||||
if not os.path.isdir(self.options.tmpdir):
|
||||
os.makedirs(self.options.tmpdir)
|
||||
os.makedirs(self.options.tmpdir, exist_ok=False)
|
||||
self.setup_chain()
|
||||
|
||||
self.setup_network()
|
||||
|
||||
self.run_test()
|
||||
|
||||
success = True
|
||||
|
||||
except JSONRPCException as e:
|
||||
print("JSONRPC error: "+e.error['message'])
|
||||
traceback.print_tb(sys.exc_info()[2])
|
||||
|
Loading…
Reference in New Issue
Block a user