[Groonga-commit] groonga/grntest [master] Don't count not checked tests

Back to archive index

Kouhei Sutou null+****@clear*****
Sat Aug 11 19:39:21 JST 2012


Kouhei Sutou	2012-08-11 19:39:21 +0900 (Sat, 11 Aug 2012)

  New Revision: 27ab022d15683b42171995f2c1a2711a8c5ac08a
  https://github.com/groonga/grntest/commit/27ab022d15683b42171995f2c1a2711a8c5ac08a

  Log:
    Don't count not checked tests

  Modified files:
    lib/groonga/tester.rb

  Modified: lib/groonga/tester.rb (+1 -1)
===================================================================
--- lib/groonga/tester.rb    2012-08-11 19:37:38 +0900 (bad4c9a)
+++ lib/groonga/tester.rb    2012-08-11 19:39:21 +0900 (f79ae83)
@@ -423,7 +423,7 @@ module Groonga
         if n_tests.zero?
           0
         else
-          (n_passed_tests / n_tests.to_f) * 100
+          (n_passed_tests / (n_tests - n_not_checked_tests).to_f) * 100
         end
       end
 
-------------- next part --------------
HTML����������������������������...
Download 



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