Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
asdf
Browse files Browse the repository at this point in the history
chrisseaton committed May 12, 2016
1 parent 34703cf commit 0222bd8
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion bin/jruby-cext-c
Original file line number Diff line number Diff line change
@@ -21,7 +21,7 @@ end
def mx(command, *args)
command = "mx -p #{SULONG_DIR} --vm server #{command} #{args.join(' ')}"
puts "$ #{command}"
puts `#{command}`
`#{command}`
end

CEXT_DIR = ARGV[0]
2 changes: 1 addition & 1 deletion tool/jt.rb
Original file line number Diff line number Diff line change
@@ -551,7 +551,7 @@ def test_cexts(*args)
Dir["#{JRUBY_DIR}/test/truffle/cexts/*"].each do |dir|
sh Utilities.find_jruby, "#{JRUBY_DIR}/bin/jruby-cext-c", dir
name = File.basename(dir)
run '--sulong', '-I', "#{dir}/lib", "#{dir}/bin/#{name}", :out => output_file
run '--sulong', '-Xtruffle.exceptions.print_java=true', '-I', "#{dir}/lib", "#{dir}/bin/#{name}", :out => output_file
unless File.read(output_file) == File.read("#{dir}/expected.txt")
abort "c extension #{dir} didn't work as expected"
end

0 comments on commit 0222bd8

Please sign in to comment.