diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-01-02 19:03:23 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-01-02 19:03:23 +0000 |
commit | 8d0d7da44ea9cab720c965aab63f58cbb0553235 (patch) | |
tree | a22aa063a61e4dd0e086e3c0c30c3c29b83b2c0e /test/lib/tracepointchecker.rb | |
parent | 4ef6097f9a8abd98637e296c0b5013224567c214 (diff) | |
download | ruby-8d0d7da44ea9cab720c965aab63f58cbb0553235.tar.gz |
tracepointchecker.rb: for older TracePoint
* test/lib/tracepointchecker.rb (TracePointChecker): needs recent
version of TracePoint, so that older versions can run to compare
the resuls.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49107 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/lib/tracepointchecker.rb')
-rw-r--r-- | test/lib/tracepointchecker.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/lib/tracepointchecker.rb b/test/lib/tracepointchecker.rb index 33f3a817c1..2d56e658ff 100644 --- a/test/lib/tracepointchecker.rb +++ b/test/lib/tracepointchecker.rb @@ -109,10 +109,10 @@ module TracePointChecker raise "trace #{trace} should not be deactivated" unless trace.enabled? } end -end if defined?(TracePoint) +end if defined?(TracePoint.stat) class ::Test::Unit::TestCase include TracePointChecker::ZombieTraceHunter -end if defined?(TracePoint) +end if defined?(TracePointChecker) # TracePointChecker.start verbose: false |