Fix exiting test task on INT signal.
This commit is contained in:
parent
32628d41cd
commit
c01d1a26f7
|
@ -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)
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue