# HG changeset patch
# User Edouard Tisserant <edouard.tisserant@gmail.com>
# Date 1672609181 -3600
# Node ID cf7c9118399509109a3158c0b23358fb5af528cf
# Parent  cea2005bf2c9df213e8742b5bb2525a052e1c4ef
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.

diff -r cea2005bf2c9 -r cf7c91183995 tests/ide_tests/sikuliberemiz.py
--- 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>""")