[Groonga-commit] droonga/drntest at c832c8e [master] Ensure teardown

Back to archive index

Yoji Shidara null+****@clear*****
Tue Nov 26 15:35:11 JST 2013


Yoji Shidara	2013-11-26 15:35:11 +0900 (Tue, 26 Nov 2013)

  New Revision: c832c8ee90096167837fd974205142a9b070e728
  https://github.com/droonga/drntest/commit/c832c8ee90096167837fd974205142a9b070e728

  Message:
    Ensure teardown

  Modified files:
    lib/drntest/test-runner.rb

  Modified: lib/drntest/test-runner.rb (+5 -2)
===================================================================
--- lib/drntest/test-runner.rb    2013-11-26 15:27:23 +0900 (17c38a2)
+++ lib/drntest/test-runner.rb    2013-11-26 15:35:11 +0900 (1c31650)
@@ -35,8 +35,11 @@ module Drntest
       print "#{@target_path}: "
       prepare
       setup
-      results = process_requests
-      teardown
+      begin
+        results = process_requests
+      ensure
+        teardown
+      end
       results
     end
 
-------------- next part --------------
HTML����������������������������...
Download 



More information about the Groonga-commit mailing list
Back to archive index