Navigation Menu

Skip to content

Commit

Permalink
test: support uninstalled groonga-command and groonga-client
Browse files Browse the repository at this point in the history
  • Loading branch information
kou committed Jan 31, 2015
1 parent 326da78 commit aaa65fb
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions test/test-array.rb
Expand Up @@ -242,6 +242,17 @@ def pull_rb_source(options)
$stdout.sync = true
base_dir = #{base_dir.dump}
groonga_command_dir = File.join(base_dir, "..", "groonga-command")
if File.exist?(groonga_command_dir)
$LOAD_PATH.unshift(File.join(groonga_command_dir, "lib"))
end
groonga_client_dir = File.join(base_dir, "..", "groonga-client")
if File.exist?(groonga_client_dir)
$LOAD_PATH.unshift(File.join(groonga_client_dir, "lib"))
end
ext_dir = File.join(base_dir, "ext", "groonga")
lib_dir = File.join(base_dir, "lib")
Expand Down

0 comments on commit aaa65fb

Please sign in to comment.