File: ruby-tests.rake

package info (click to toggle)
racc 1.8.1-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 4,016 kB
  • sloc: yacc: 22,764; ruby: 4,515; java: 698; ansic: 680; makefile: 16
file content (12 lines) | stat: -rw-r--r-- 293 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
require 'gem2deb/rake/testtask'

if not ENV["AUTOPKGTEST_TMP"]
  load "Rakefile"
  Rake::Task["srcs"].invoke
end

Gem2Deb::Rake::TestTask.new do |t|
  t.libs = ['test', "test/lib"]
  t.ruby_opts = ["-rhelper"]
  t.test_files = FileList['test/**/*_test.rb'] + FileList['test/**/test_*.rb']
end