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

ruby-changes:34182

From: naruse <ko1@a...>
Date: Sat, 31 May 2014 00:06:13 +0900 (JST)
Subject: [ruby-changes:34182] naruse:r46263 (trunk): add --disable-gem

naruse	2014-05-31 00:06:07 +0900 (Sat, 31 May 2014)

  New Revision: 46263

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?revision=46263&view=revision

  Log:
    add --disable-gem

  Modified files:
    trunk/test/ruby/test_exception.rb
Index: test/ruby/test_exception.rb
===================================================================
--- test/ruby/test_exception.rb	(revision 46262)
+++ test/ruby/test_exception.rb	(revision 46263)
@@ -534,7 +534,7 @@ end.join https://github.com/ruby/ruby/blob/trunk/test/ruby/test_exception.rb#L534
 
   def test_machine_stackoverflow
     bug9109 = '[ruby-dev:47804] [Bug #9109]'
-    assert_separately([], <<-SRC)
+    assert_separately(%w[--disable-gem], <<-SRC)
     assert_raise(SystemStackError, #{bug9109.dump}) {
       h = {a: ->{h[:a].call}}
       h[:a].call
@@ -545,7 +545,7 @@ end.join https://github.com/ruby/ruby/blob/trunk/test/ruby/test_exception.rb#L545
 
   def test_machine_stackoverflow_by_define_method
     bug9454 = '[ruby-core:60113] [Bug #9454]'
-    assert_separately([], <<-SRC)
+    assert_separately(%w[--disable-gem], <<-SRC)
     assert_raise(SystemStackError, #{bug9454.dump}) {
       define_method(:foo) {self.foo}
       self.foo

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

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