rf-web/vendor/bundle/gems/eventmachine-1.2.7/rakelib/test_pure.rake
2019-10-21 10:18:17 +02:00

14 lines
309 B
Ruby

require 'rake/testtask'
Rake::TestTask.new(:test_pure) do |t|
t.libs << 'tests'
t.libs << 'lib'
t.test_files = Dir.glob('tests/**/test_pure*.rb') + Dir.glob('tests/**/test_ssl*.rb')
t.warning = true
end
task :test_em_pure_ruby do
ENV['EM_PURE_RUBY'] = 'true'
Rake::Task['test_pure'].execute
end