summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-12-05 13:30:39 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-12-05 13:30:39 +0000
commit8cffe06a04e2107c765a32a0b8b8bbe2b02f2ef0 (patch)
treef309dc19944f29ef05209e5f527b0bcfc7cc2994
parent1a1c0aeb50d3faa919db178e7d237dd5388e6710 (diff)
test_objspace.rb: show error
* test/objspace/test_objspace.rb (test_dump_all): show error output if nothing dumped. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44020 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r--test/objspace/test_objspace.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/objspace/test_objspace.rb b/test/objspace/test_objspace.rb
index f8d1c405e8..38fd9bd46f 100644
--- a/test/objspace/test_objspace.rb
+++ b/test/objspace/test_objspace.rb
@@ -254,6 +254,7 @@ class TestObjSpace < Test::Unit::TestCase
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