diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2012-11-29 04:39:09 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2012-11-29 04:39:09 +0000 |
commit | 5bb12509a2db64cb92fd52222fc2022c9181d54e (patch) | |
tree | 3b7a18a8c1121fcccd3fe243bef505f3fece5f10 /test/dtrace/test_function_entry.rb | |
parent | 0e515efda19c2ec15c61f623e097ecc4818fd561 (diff) |
* 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
Diffstat (limited to 'test/dtrace/test_function_entry.rb')
-rw-r--r-- | test/dtrace/test_function_entry.rb | 2 |
1 files changed, 1 insertions, 1 deletions
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) |