mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-11-11 06:28:31 +01:00
Merge #7971: [qa] Refactor test_framework and pull tester
fad3366[qa] pull-tester: Adjust comment (MarcoFalke)fafb33c[qa] Stop other nodes, even when one fails to stop (MarcoFalke)2222dae[qa] Update README.md (MarcoFalke)fabbf6b[qa] Refactor test_framework and pull tester (MarcoFalke)
This commit is contained in:
@@ -115,7 +115,7 @@ class BitcoinTestFramework(object):
|
||||
|
||||
if self.options.trace_rpc:
|
||||
import logging
|
||||
logging.basicConfig(level=logging.DEBUG)
|
||||
logging.basicConfig(level=logging.DEBUG, stream=sys.stdout)
|
||||
|
||||
if self.options.coveragedir:
|
||||
enable_coverage(self.options.coveragedir)
|
||||
@@ -148,6 +148,8 @@ class BitcoinTestFramework(object):
|
||||
except Exception as e:
|
||||
print("Unexpected exception caught during testing: " + repr(e))
|
||||
traceback.print_tb(sys.exc_info()[2])
|
||||
except KeyboardInterrupt as e:
|
||||
print("Exiting after " + repr(e))
|
||||
|
||||
if not self.options.noshutdown:
|
||||
print("Stopping nodes")
|
||||
|
||||
Reference in New Issue
Block a user