From 5bb12509a2db64cb92fd52222fc2022c9181d54e Mon Sep 17 00:00:00 2001 From: nobu Date: Thu, 29 Nov 2012 04:39:09 +0000 Subject: * test/dtrace/helper.rb (DTrace::TestCase): check dtrace availability once. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37969 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- test/dtrace/test_function_entry.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/dtrace/test_function_entry.rb') diff --git a/test/dtrace/test_function_entry.rb b/test/dtrace/test_function_entry.rb index d7c7936f4c..7a5f685f16 100644 --- a/test/dtrace/test_function_entry.rb +++ b/test/dtrace/test_function_entry.rb @@ -55,4 +55,4 @@ ruby$target:::method-return eoruby end end -end if (`dtrace -V` rescue false) +end if defined?(DTrace::TestCase) -- cgit v1.2.3