File: ruby-tests.rake

package info (click to toggle)
ruby-shadow 2.5.1-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 192 kB
  • sloc: ansic: 323; ruby: 97; makefile: 4
file content (12 lines) | stat: -rw-r--r-- 276 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
require 'gem2deb/rake/testtask'

if ENV["AUTOPKGTEST_TMP"]
  Gem2Deb::Rake::TestTask.new do |t|
    t.libs = ['test']
    t.test_files = FileList['test/**/*_test.rb'] + FileList['test/**/test_*.rb']
  end
else
  task :default do
    puts "Test needs root, skipping"
  end
end