Skip to content

Commit

Permalink
Output log by default
Browse files Browse the repository at this point in the history
  • Loading branch information
piroor committed Apr 14, 2015
1 parent ec5a92d commit 12d2fc5
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions test/command/run-test.rb
Expand Up @@ -39,9 +39,11 @@ def run(*command_line)

base_dir = File.dirname(__FILE__)
lib_dir = File.expand_path(File.join(base_dir, "..", "..", "lib"))
log_path = File.expand_path(File.join(base_dir, "test", "command", "tmp", "droonga-engine.log"))

drntest_options = []
drntest_options.concat(["--base-path", base_dir])
drntest_options.concat(["--droonga-engine-options", "--log-file=#{log_path}"])
drntest_options.concat(ARGV)

run("bundle", "exec", "drntest", *drntest_options)

0 comments on commit 12d2fc5

Please sign in to comment.