[Groonga-commit] groonga/groonga-query-log at 540ee0a [master] run-regression-test: add missing log output on loading data

Back to archive index

Kouhei Sutou null+****@clear*****
Fri Oct 31 14:46:05 JST 2014


Kouhei Sutou	2014-10-31 14:46:05 +0900 (Fri, 31 Oct 2014)

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

  Message:
    run-regression-test: add missing log output on loading data

  Modified files:
    lib/groonga/query-log/command/run-regression-test.rb

  Modified: lib/groonga/query-log/command/run-regression-test.rb (+5 -1)
===================================================================
--- lib/groonga/query-log/command/run-regression-test.rb    2014-09-09 18:12:42 +0900 (4428dda)
+++ lib/groonga/query-log/command/run-regression-test.rb    2014-10-31 14:46:05 +0900 (c2ab1d6)
@@ -232,7 +232,11 @@ module Groonga
             FileUtils.mkdir_p(@database_path.dirname.to_s)
             system(@groonga, "-n", @database_path.to_s, "quit")
             grn_files.each do |grn_file|
-              command = [@groonga, @database_path.to_s]
+              command = [
+                @groonga,
+                "--log-path", log_path.to_s,
+                @database_path.to_s,
+              ]
               command_line = "#{command.join(' ')} < #{grn_file}"
               puts("Running...: #{command_line}")
               pid = spawn(*command, :in => grn_file.to_s)
-------------- next part --------------
HTML����������������������������...
Download 



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