aboutsummaryrefslogtreecommitdiffstats
path: root/test/dtrace/test_function_entry.rb
diff options
context:
space:
mode:
authornormal <normal@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-12-11 09:49:26 +0000
committernormal <normal@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-12-11 09:49:26 +0000
commit349f6a3275abb0b59d35df44c3d786a4af58449e (patch)
treebd51a652b07344d9784206529eef0cde752aac52 /test/dtrace/test_function_entry.rb
parent785ace12f903cfae848ea38d7b8a0cb3439379f3 (diff)
downloadruby-349f6a3275abb0b59d35df44c3d786a4af58449e.tar.gz
test/dtrace: improve diagnostics
These will help us track down test failures more easily (on FreeBSD 11.2) git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66335 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/dtrace/test_function_entry.rb')
-rw-r--r--test/dtrace/test_function_entry.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/dtrace/test_function_entry.rb b/test/dtrace/test_function_entry.rb
index 2fac424fe4..0030560d54 100644
--- a/test/dtrace/test_function_entry.rb
+++ b/test/dtrace/test_function_entry.rb
@@ -17,7 +17,7 @@ ruby$target:::method-entry
row.first == 'Foo' && row[1] == 'foo'
}
- assert_equal 10, foo_calls.length
+ assert_equal 10, foo_calls.length, probes
line = '3'
foo_calls.each { |f| assert_equal line, f[3] }
foo_calls.each { |f| assert_equal rb_file, f[2] }
@@ -38,7 +38,7 @@ ruby$target:::method-return
row.first == 'Foo' && row[1] == 'foo'
}
- assert_equal 10, foo_calls.length
+ assert_equal 10, foo_calls.length, probes.inspect
line = '3'
foo_calls.each { |f| assert_equal line, f[3] }
foo_calls.each { |f| assert_equal rb_file, f[2] }