From c484eba1fb2cac2cc6e9a2be980ba1b86dd09818 Mon Sep 17 00:00:00 2001 From: Mike Dalessio Date: Wed, 29 May 2024 15:51:16 -0400 Subject: [PATCH] test: print out relevant RbConfig information --- test/helper.rb | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/test/helper.rb b/test/helper.rb index 5b893bf..b549964 100644 --- a/test/helper.rb +++ b/test/helper.rb @@ -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