From c01d1a26f7b08205f9e5b02f0389f53a45977c70 Mon Sep 17 00:00:00 2001 From: Tobie Langel Date: Thu, 29 May 2008 17:30:20 +0200 Subject: [PATCH] Fix exiting test task on INT signal. --- CHANGELOG | 2 ++ test/lib/jstest.rb | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/CHANGELOG b/CHANGELOG index 4f31d44..94d3094 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -1,3 +1,5 @@ +* Fix exiting test task on INT signal. (Samuel Lebeau) + * Fix unit test freeze in IE. (Tobie Langel) * Ensure Hash does not return keys from the prototype chain (e.g., constructor, valueOf, toString). (kangax) diff --git a/test/lib/jstest.rb b/test/lib/jstest.rb index 2d65e08..78fa737 100644 --- a/test/lib/jstest.rb +++ b/test/lib/jstest.rb @@ -289,7 +289,7 @@ class JavaScriptTestTask < ::Rake::TaskLib def define task @name do - trap("INT") { @server.shutdown } + trap("INT") { @server.shutdown; exit } t = Thread.new { @server.start } # run all combinations of browsers and tests