|
|
@ -165,9 +165,11 @@ class BitcoinTestFramework(object): |
|
|
|
else: |
|
|
|
else: |
|
|
|
print("Note: bitcoinds were not stopped and may still be running") |
|
|
|
print("Note: bitcoinds were not stopped and may still be running") |
|
|
|
|
|
|
|
|
|
|
|
if not self.options.nocleanup and not self.options.noshutdown: |
|
|
|
if not self.options.nocleanup and not self.options.noshutdown and success: |
|
|
|
print("Cleaning up") |
|
|
|
print("Cleaning up") |
|
|
|
shutil.rmtree(self.options.tmpdir) |
|
|
|
shutil.rmtree(self.options.tmpdir) |
|
|
|
|
|
|
|
else: |
|
|
|
|
|
|
|
print("Not cleaning up dir %s" % self.options.tmpdir) |
|
|
|
|
|
|
|
|
|
|
|
if success: |
|
|
|
if success: |
|
|
|
print("Tests successful") |
|
|
|
print("Tests successful") |
|
|
|