<commit_before>Patch by MSP-Greg
allows running tests from standard ruby install
diff --git a/test/mkmf/base.rb b/test/mkmf/base.rb
index 3ba3e03387..5c787b1f8e 100644
--- a/test/mkmf/base.rb
+++ b/test/mkmf/base.rb
@@ -1,5 +1,5 @@
 # frozen_string_literal: false
-$extmk = true
+$extmk = false
 
 require 'test/unit'
 require 'mkmf'
<commit_msg>update patches_test\mkmf-base.rb.patch<commit_after>Patch by MSP-Greg
allows running tests from standard ruby install
diff --git a/test/mkmf/base.rb b/test/mkmf/base.rb
index 80dec1421a..5c787b1f8e 100644
--- a/test/mkmf/base.rb
+++ b/test/mkmf/base.rb
@@ -1,13 +1,5 @@
 # frozen_string_literal: false
-$extmk = true
-require 'rbconfig'
-RbConfig.fire_update!("top_srcdir", File.expand_path("../..", __dir__))
-File.foreach(RbConfig::CONFIG["topdir"]+"/Makefile") do |line|
-  if /^CC_WRAPPER\s*=\s*/ =~ line
-    RbConfig.fire_update!('CC_WRAPPER', $'.strip)
-    break
-  end
-end
+$extmk = false
 
 require 'test/unit'
 require 'mkmf'

{'fraction_non_alphanumeric': 0.1717479674796748, 'fraction_numerical': 0.046747967479674794, 'mean_word_length': 3.974747474747475, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5914354', 'n_tokens_mistral': 444, 'n_tokens_neox': 407, 'n_words': 79}