tracepointchecker.rb: needs TracePoint

* test/lib/tracepointchecker.rb: available only if TracePoint is
  available.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49097 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
nobu 2015-01-02 02:37:47 +00:00
Родитель 163ecb32e9
Коммит 6d65806f8b
1 изменённых файлов: 2 добавлений и 2 удалений

Просмотреть файл

@ -109,10 +109,10 @@ module TracePointChecker
raise "trace #{trace} should not be deactivated" unless trace.enabled?
}
end
end
end if defined?(TracePoint)
class ::Test::Unit::TestCase
include TracePointChecker::ZombieTraceHunter
end
end if defined?(TracePoint)
# TracePointChecker.start verbose: false