[前][次][番号順一覧][スレッド一覧]

ruby-changes:57799

From: Nobuyoshi <ko1@a...>
Date: Thu, 19 Sep 2019 10:47:23 +0900 (JST)
Subject: [ruby-changes:57799] a98181eb11 (master): DEBUG: cxxanyargs

https://git.ruby-lang.org/ruby.git/commit/?id=a98181eb11

From a98181eb11ab3d0a643a5fb50e731c3fe50960d9 Mon Sep 17 00:00:00 2001
From: Nobuyoshi Nakada <nobu@r...>
Date: Thu, 19 Sep 2019 10:46:52 +0900
Subject: DEBUG: cxxanyargs


diff --git a/ext/-test-/cxxanyargs/extconf.rb b/ext/-test-/cxxanyargs/extconf.rb
index 7e2449a..744f94d 100644
--- a/ext/-test-/cxxanyargs/extconf.rb
+++ b/ext/-test-/cxxanyargs/extconf.rb
@@ -23,4 +23,6 @@ end https://github.com/ruby/ruby/blob/trunk/ext/-test-/cxxanyargs/extconf.rb#L23
 
 if ok
   create_makefile("-test-/cxxanyargs")
+else
+  File.write("Makefile", "all:\n\tcat mkmf.log\n")
 end
diff --git a/ext/-test-/symbol/extconf.rb b/ext/-test-/symbol/extconf.rb
index 3467d2f..ecebdb7 100644
--- a/ext/-test-/symbol/extconf.rb
+++ b/ext/-test-/symbol/extconf.rb
@@ -2,4 +2,3 @@ https://github.com/ruby/ruby/blob/trunk/ext/-test-/symbol/extconf.rb#L2
 require_relative "../auto_ext.rb"
 have_func("rb_pin_dynamic_symbol")
 auto_ext
-raise File.read("mkmf.log") unless $makefile_created
diff --git a/test/ruby/test_io.rb b/test/ruby/test_io.rb
index 20875f7..ed60452 100644
--- a/test/ruby/test_io.rb
+++ b/test/ruby/test_io.rb
@@ -2003,8 +2003,6 @@ class TestIO < Test::Unit::TestCase https://github.com/ruby/ruby/blob/trunk/test/ruby/test_io.rb#L2003
       end
     end
     false
-  rescue LoadError
-    raise File.read("ext/-test-/file/mkmf.log")
   end
 
   def test_seek
-- 
cgit v0.10.2


--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]