beremiz

cf7c91183995
Parents cea2005bf2c9
Children c3a13fcbda3a
Tests: use expedited termination of IDE with SIGTERM instead of normal close

Work around test not finishing when IDE ask for confirmation on exit when
project is modified.
--- a/tests/ide_tests/sikuliberemiz.py Sun Jan 01 22:33:29 2023 +0100
+++ b/tests/ide_tests/sikuliberemiz.py Sun Jan 01 22:39:41 2023 +0100
@@ -347,8 +347,12 @@
self.ReportScreenShot("Drop: (" + repr(dst) + ")")
def close(self):
- self.sikuliapp.close()
- self.sikuliapp = None
+
+ self.ReportScreenShot("Close app")
+ os.kill(self.proc.pid, signal.SIGTERM)
+ #self.sikuliapp.close()
+ #self.sikuliapp = None
+
self.report.write("""
</body>
</html>""")