diff options
| author | Wladimir J. van der Laan <[email protected]> | 2016-11-08 10:55:33 +0100 |
|---|---|---|
| committer | Wladimir J. van der Laan <[email protected]> | 2016-11-08 10:55:45 +0100 |
| commit | 71ab476b048273060ef4e2fe16c8beadfe4d582f (patch) | |
| tree | c7df14f50c273eb50cff00419a872c54c9a31db1 /qa/rpc-tests/test_framework/test_framework.py | |
| parent | Merge #9067: Fix exit codes (diff) | |
| parent | [qa] rpc-tests: Apply random offset to portseed (diff) | |
| download | discoin-71ab476b048273060ef4e2fe16c8beadfe4d582f.tar.xz discoin-71ab476b048273060ef4e2fe16c8beadfe4d582f.zip | |
Merge #9098: [qa] Handle zombies and cluttered tmpdirs
fab0f07 [qa] rpc-tests: Apply random offset to portseed (MarcoFalke)
fae19aa [qa] test_framework: Exit when tmpdir exists (MarcoFalke)
Diffstat (limited to 'qa/rpc-tests/test_framework/test_framework.py')
| -rwxr-xr-x | qa/rpc-tests/test_framework/test_framework.py | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/qa/rpc-tests/test_framework/test_framework.py b/qa/rpc-tests/test_framework/test_framework.py index e6fc5fd8a..e6d3e9ab9 100755 --- a/qa/rpc-tests/test_framework/test_framework.py +++ b/qa/rpc-tests/test_framework/test_framework.py @@ -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]) |