[Xfce4-commits] <midori:master> Use signal.SIGABRT instead of 9 to kill tests

Christian Dywan noreply at xfce.org
Thu Jan 31 11:36:01 CET 2013


Updating branch refs/heads/master
         to 378ab74670a4e12dd59854efb42d25a4c30757ae (commit)
       from 132967566fb48538a9ef5ae89918b749a659ce16 (commit)

commit 378ab74670a4e12dd59854efb42d25a4c30757ae
Author: Christian Dywan <christian at twotoasts.de>
Date:   Thu Jan 31 09:19:55 2013 +0100

    Use signal.SIGABRT instead of 9 to kill tests

 wscript |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/wscript b/wscript
index 8ff4f6c..55156fa 100644
--- a/wscript
+++ b/wscript
@@ -582,10 +582,10 @@ def shutdown ():
                 Utils.check_dir (os.environ[x])
 
         def subprocess_popen_timeout (args, stdout=None, stderr=None):
-            import threading
+            import threading, signal
             def t_kill ():
                 Utils.pprint ('RED', 'timed out')
-                os.kill (pp.pid, 9) # SIGKILL
+                os.kill (pp.pid, signal.SIGABRT)
             t = threading.Timer (42, t_kill)
             t.start ()
             if is_mingw (Build.bld.env):


More information about the Xfce4-commits mailing list