[Groonga-commit] groonga/grntest at e942086 [master] Improve backtrace log detection

Back to archive index

Kouhei Sutou null+****@clear*****
Sat Aug 16 14:34:44 JST 2014


Kouhei Sutou	2014-08-16 14:34:44 +0900 (Sat, 16 Aug 2014)

  New Revision: e942086d8bcdafc20d1d0486f72e986270e27f53
  https://github.com/groonga/grntest/commit/e942086d8bcdafc20d1d0486f72e986270e27f53

  Message:
    Improve backtrace log detection
    
    The newly supported format is the following:
    
        groonga() [0x404fe1]
    
    [groonga-dev,02650]
    
    Reported by Naoya Murakami. Thanks!!!

  Modified files:
    lib/grntest/executors/base-executor.rb

  Modified: lib/grntest/executors/base-executor.rb (+8 -1)
===================================================================
--- lib/grntest/executors/base-executor.rb    2014-06-21 15:14:23 +0900 (b8cca9c)
+++ lib/grntest/executors/base-executor.rb    2014-08-16 14:34:44 +0900 (4806f69)
@@ -302,7 +302,14 @@ module Grntest
       end
 
       def backtrace_log_message?(message)
-        message.start_with?("/")
+        case message
+        when /\A\//
+          true
+        when /\Agroonga\(\) \[0x[\da-f]+\]\z/
+          true
+        else
+          false
+        end
       end
 
       def error_response?(response, type)
-------------- next part --------------
HTML����������������������������...
下载 



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