Kouhei Sutou
null+****@clear*****
Thu Oct 8 18:15:43 JST 2015
Kouhei Sutou 2015-10-08 18:15:43 +0900 (Thu, 08 Oct 2015) New Revision: 568e32bfa18a570f27766df140fd622ef107cd01 https://github.com/groonga/groonga/commit/568e32bfa18a570f27766df140fd622ef107cd01 Message: mruby test: fix build directory detection Modified files: test/mruby/run-test.rb Modified: test/mruby/run-test.rb (+1 -2) =================================================================== --- test/mruby/run-test.rb 2015-10-08 18:11:27 +0900 (53b556f) +++ test/mruby/run-test.rb 2015-10-08 18:15:43 +0900 (bde6ecf) @@ -4,10 +4,9 @@ require "rbconfig" require "pathname" require "fileutils" -current_dir_path = Pathname.pwd base_dir_path = Pathname(__FILE__).dirname source_top_dir_path = base_dir_path.parent.parent -build_top_dir_path = current_dir_path +build_top_dir_path = Pathname($0).dirname.parent.parent build_base_dir_path = build_top_dir_path + "test/mruby" Dir.chdir(build_top_dir_path.to_s) do -------------- next part -------------- HTML����������������������������... Download