File: ruby-tests.rake

package info (click to toggle)
ruby-pcaprub 0.12.4-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, buster, stretch
  • size: 248 kB
  • ctags: 102
  • sloc: ansic: 846; ruby: 271; makefile: 2
file content (13 lines) | stat: -rw-r--r-- 304 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
require 'rake/testtask'

unless ENV['ADTTMP'].nil?
  Rake::TestTask.new(:default) do |test|
    test.libs << 'test'
    test.pattern = 'test/**/test_*.rb'
    test.verbose = true
  end
  task :default => [:test]
else
  $stderr.puts "Not running in autopkgtest. Skipping tests."
  task :default => []
end