We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 77b49ac commit 1ad9339Copy full SHA for 1ad9339
qa/rpc-tests/test_framework/test_framework.py
@@ -165,9 +165,11 @@ def main(self):
165
else:
166
print("Note: bitcoinds were not stopped and may still be running")
167
168
- if not self.options.nocleanup and not self.options.noshutdown:
+ if not self.options.nocleanup and not self.options.noshutdown and success:
169
print("Cleaning up")
170
shutil.rmtree(self.options.tmpdir)
171
+ else:
172
+ print("Not cleaning up dir %s" % self.options.tmpdir)
173
174
if success:
175
print("Tests successful")
0 commit comments