Navigation Menu

Skip to content

Commit

Permalink
mruby test: fix build directory detection
Browse files Browse the repository at this point in the history
  • Loading branch information
kou committed Oct 8, 2015
1 parent e33bcac commit 568e32b
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions test/mruby/run-test.rb
Expand Up @@ -4,10 +4,9 @@
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
Expand Down

0 comments on commit 568e32b

Please sign in to comment.