summaryrefslogtreecommitdiffhomepage
path: root/mrbgems/mruby-compiler
diff options
context:
space:
mode:
authorYukihiro "Matz" Matsumoto <[email protected]>2015-10-01 19:21:57 +0900
committerYukihiro "Matz" Matsumoto <[email protected]>2015-10-01 19:21:57 +0900
commitbcd10c710c665b0e4507a3372a2626baccbc4b65 (patch)
treee7010366188052a89cc659426fc4bbf55367f7a8 /mrbgems/mruby-compiler
parent81ec5f5dc04a45d869ebf393d818cb8d08e0ffbf (diff)
parent545d649eff73021d515f7a96841b363b0001e9d9 (diff)
downloadmruby-bcd10c710c665b0e4507a3372a2626baccbc4b65.tar.gz
mruby-bcd10c710c665b0e4507a3372a2626baccbc4b65.zip
Merge pull request #2973 from mattn/fix-windows-tests
fix tests on windows.
Diffstat (limited to 'mrbgems/mruby-compiler')
-rw-r--r--mrbgems/mruby-compiler/bintest/mrbc.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/mrbgems/mruby-compiler/bintest/mrbc.rb b/mrbgems/mruby-compiler/bintest/mrbc.rb
index b016378a1..e4dc6a9a8 100644
--- a/mrbgems/mruby-compiler/bintest/mrbc.rb
+++ b/mrbgems/mruby-compiler/bintest/mrbc.rb
@@ -6,7 +6,7 @@ assert('Compiling multiple files without new line in last line. #2361') do
a.flush
b.write('module B; end')
b.flush
- result = `bin/mrbc -c -o #{out.path} #{a.path} #{b.path} 2>&1`
- assert_equal "bin/mrbc:#{a.path}:Syntax OK", result.chomp
+ result = `#{cmd('mrbc')} -c -o #{out.path} #{a.path} #{b.path} 2>&1`
+ assert_equal "#{cmd('mrbc')}:#{a.path}:Syntax OK", result.chomp
assert_equal 0, $?.exitstatus
end