Skip to content

Commit

Permalink
Show the exit status when compilation failed
Browse files Browse the repository at this point in the history
  • Loading branch information
eregon committed Sep 26, 2016
1 parent dde7f44 commit 3829356
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/ruby/optional/capi/spec_helper.rb
Expand Up @@ -111,7 +111,7 @@ def compile_extension_jruby_truffle(name)
end

system "#{RbConfig::CONFIG['bindir']}/../tool/jt.rb", 'cextc', extension_path
raise "Compilation of #{extension_path} failed" unless $?.success?
raise "Compilation of #{extension_path} failed: #{$?}" unless $?.success?

output_file
ensure
Expand Down

0 comments on commit 3829356

Please sign in to comment.