Kouhei Sutou
null+****@clear*****
Sun Oct 18 10:50:33 JST 2015
Kouhei Sutou 2015-10-18 10:50:33 +0900 (Sun, 18 Oct 2015) New Revision: a5d72e0f6436d63a54615d0c88911cf0e6eb0a97 https://github.com/groonga/groonga/commit/a5d72e0f6436d63a54615d0c88911cf0e6eb0a97 Message: test mruby: add missing expand_path Modified files: test/mruby/run-test.rb Modified: test/mruby/run-test.rb (+3 -2) =================================================================== --- test/mruby/run-test.rb 2015-10-18 10:13:39 +0900 (bde6ecf) +++ test/mruby/run-test.rb 2015-10-18 10:50:33 +0900 (08fafb0) @@ -4,9 +4,9 @@ require "rbconfig" 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 @@ -39,6 +39,7 @@ if rroonga_revision != rroonga_built_revision 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, -------------- next part -------------- HTML����������������������������...Download