File: ruby-tests.rake

package info (click to toggle)
ruby-zoom 0.4.1-6
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 296 kB
  • ctags: 99
  • sloc: ansic: 680; xml: 262; ruby: 254; makefile: 2
file content (13 lines) | stat: -rw-r--r-- 410 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
# -*- coding: UTF-8 -*-
task :default => :test
require 'rake/testtask'
require 'rbconfig'

Rake::TestTask.new do |t|
  # Test files other than package_test.rb require network access (to
  # z3950.loc.gov) (see bug #683153 — Thanks to Felix Geyer for the
  # report and solution!)
  t.test_files = FileList['test/package_test.rb']
  t.ruby_opts << '-I src' << '-rzoom' << '-rtest/unit'
  t.verbose = true
end