You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
faefd29 qa: Prepare functional tests for Windows (MarcoFalke)
Pull request description:
* 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
Ref: #8227
Tree-SHA512: c507a536af104b3bde4366b6634099db826532bd3e7c35d694b5883c550920643b3eab79c76703ca67e1044ed09979e855088f7324321c8d52112514e334d614
self.log.info("Cleaning up {} on exit".format(self.options.tmpdir))
154
+
cleanup_tree_on_exit=True
153
155
else:
154
156
self.log.warning("Not cleaning up dir %s"%self.options.tmpdir)
157
+
cleanup_tree_on_exit=False
155
158
156
159
ifsuccess==TestStatus.PASSED:
157
160
self.log.info("Tests successful")
@@ -164,6 +167,8 @@ def main(self):
164
167
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))
0 commit comments