mcst-linux-kernel/patches-2024.06.26/concurrent-ruby-1.1.9/files/debian/ruby-tests.rake

13 lines
308 B
Ruby

require 'gem2deb/rake/spectask'
if ENV['AUTOPKGTEST_TMP'] then
Gem2Deb::Rake::RSpecTask.new do |spec|
spec.rspec_opts = '--color --backtrace --format documentation --seed 1'
spec.pattern = './spec/concurrent/*_spec.rb'
end
else
task :default do
puts "Disable tests during build"
end
end