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

ruby-changes:31941

From: nobu <ko1@a...>
Date: Thu, 5 Dec 2013 22:30:44 +0900 (JST)
Subject: [ruby-changes:31941] nobu:r44020 (trunk): test_objspace.rb: show error

nobu	2013-12-05 22:30:39 +0900 (Thu, 05 Dec 2013)

  New Revision: 44020

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

  Log:
    test_objspace.rb: show error
    
    * test/objspace/test_objspace.rb (test_dump_all): show error output if
      nothing dumped.

  Modified files:
    trunk/test/objspace/test_objspace.rb
Index: test/objspace/test_objspace.rb
===================================================================
--- test/objspace/test_objspace.rb	(revision 44019)
+++ test/objspace/test_objspace.rb	(revision 44020)
@@ -254,6 +254,7 @@ class TestObjSpace < Test::Unit::TestCas https://github.com/ruby/ruby/blob/trunk/test/objspace/test_objspace.rb#L254
       puts dump_my_heap_please
     end;
       skip if /is not supported/ =~ error
+      skip error unless output
       assert_match(entry, File.readlines(output).grep(/TEST STRING/).join("\n"))
       File.unlink(output)
     end

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

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