[Groonga-commit] groonga/groonga-query-log at f4275ac [master] Describe groonga-query-log-format-regression-test-logs

Back to archive index

Kouhei Sutou null+****@clear*****
Thu Nov 20 14:36:11 JST 2014


Kouhei Sutou	2014-11-20 14:36:11 +0900 (Thu, 20 Nov 2014)

  New Revision: f4275aca63eb9b57507c95bed85011153cf86fbe
  https://github.com/groonga/groonga-query-log/commit/f4275aca63eb9b57507c95bed85011153cf86fbe

  Message:
    Describe groonga-query-log-format-regression-test-logs

  Modified files:
    doc/text/run-regression-test.md

  Modified: doc/text/run-regression-test.md (+24 -0)
===================================================================
--- doc/text/run-regression-test.md    2014-11-20 14:33:04 +0900 (3cd8e50)
+++ doc/text/run-regression-test.md    2014-11-20 14:36:11 +0900 (75dd125)
@@ -158,6 +158,30 @@ directory. Test result log file name is the same as input query log
 file name. If query log file is `query-logs/query-20140508.log`, test
 result log file is `results/query-20140508.log`.
 
+### Confirm
+
+You can show details of different between the current Groonga and the
+new Groonga by `groonga-query-log-format-regression-test-logs` command:
+
+    % groonga-query-log-format-regression-test-logs results/*.log
+
+Here is a sample output:
+
+    select Logs
+    Name: select
+    Arguments:
+      table: Logs
+    --- old
+    +++ new
+    @@ -1,4 +1,5 @@
+    -[[[2],
+    +[[[3],
+       [["_id", "UInt32"], ["message", "Text"]],
+       [1, "log message1"],
+    -  [2, "log message2"]]]
+    +  [2, "log message2"],
+    +  [3, "log message3"]]]
+
 ## Advanced usage
 
 There are some advanced usages. This section describes about them.
-------------- next part --------------
HTML����������������������������...
下載 



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