* Pass `sys.executable` when calling a python script via the subprocess
module
* Don't remove the log file while it is still open and written to
* Properly use os.pathsep and os.path.sep when modifying the PATH
environment variable
* util-tests: Use os.path.join for Windows compatibility
self.log.info("Cleaning up{} on exit".format(self.options.tmpdir))
cleanup_tree_on_exit =True
else:
self.log.warning("Not cleaning up dir %s"%self.options.tmpdir)
cleanup_tree_on_exit=False
ifsuccess==TestStatus.PASSED:
self.log.info("Tests successful")
@ -164,6 +167,8 @@ class BitcoinTestFramework():
self.log.error("Hint: Call {}'{}' to consolidate all logs".format(os.path.normpath(os.path.dirname(os.path.realpath(__file__))+"/../combine_logs.py"),self.options.tmpdir))