Skip to content

Commit

Permalink
test: print out relevant RbConfig information
Browse files Browse the repository at this point in the history
  • Loading branch information
flavorjones committed May 29, 2024
1 parent 45300c4 commit c484eba
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions test/helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,11 @@
require 'erb'
require 'mini_portile2'

puts "#{__FILE__}:#{__LINE__}: relevant RbConfig::CONFIG values:"
%w[target_os target_cpu CC CXX].each do |key|
puts "- #{key}: #{RbConfig::CONFIG[key].inspect}"
end

class TestCase < Minitest::Test
include Minitest::Hooks

Expand Down

0 comments on commit c484eba

Please sign in to comment.