File: ruby-tests.rake

package info (click to toggle)
ruby-libvirt 0.7.1-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster
  • size: 916 kB
  • sloc: ansic: 9,592; ruby: 2,873; makefile: 8
file content (12 lines) | stat: -rw-r--r-- 410 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
topdir = File.dirname(File.dirname(__FILE__))
ENV['XDG_RUNTIME_DIR'] = topdir
ENV['XDG_CONFIG_HOME'] = topdir
ENV['LIBVIRT_DEFAULT_URI'] = 'test:///default'
ENV['RUBY_LIBVIRT_TEST_URI'] = 'test:///default'

require 'gem2deb/rake/testtask'
Gem2Deb::Rake::TestTask.new do |t|
  t.test_files = [ 'tests/test_nodedevice.rb',
                   'tests/test_open.rb',
                   'tests/test_stream.rb' ]
end