Navigation Menu

Skip to content

Commit

Permalink
test mruby: add missing expand_path
Browse files Browse the repository at this point in the history
  • Loading branch information
kou committed Oct 18, 2015
1 parent fe30cff commit a5d72e0
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions test/mruby/run-test.rb
Expand Up @@ -4,9 +4,9 @@
require "pathname"
require "fileutils"

base_dir_path = Pathname(__FILE__).dirname
base_dir_path = Pathname(__FILE__).expand_path.dirname
source_top_dir_path = base_dir_path.parent.parent
build_top_dir_path = Pathname($0).dirname.parent.parent
build_top_dir_path = Pathname($0).expand_path.dirname.parent.parent
build_base_dir_path = build_top_dir_path + "test/mruby"

Dir.chdir(build_top_dir_path.to_s) do
Expand Down Expand Up @@ -39,6 +39,7 @@
pkg_config_path = (ENV["PKG_CONFIG_PATH"] || "").split(File::PATH_SEPARATOR)
pkg_config_path.unshift(groonga_pc_path.dirname.to_s)
ENV["PKG_CONFIG_PATH"] = pkg_config_path.join(File::PATH_SEPARATOR)
puts ENV["PKG_CONFIG_PATH"]
Dir.chdir(rroonga_dir_path.to_s) do
system("make", "clean") if File.exist?("Makefile")
system(RbConfig.ruby,
Expand Down

0 comments on commit a5d72e0

Please sign in to comment.