1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

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
This commit is contained in:
nobu 2015-01-02 19:03:23 +00:00
parent 4ef6097f9a
commit 8d0d7da44e

View file

@ -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