File: ruby-tests.rb

package info (click to toggle)
ruby-ffi 1.0.11debian-5
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 1,488 kB
  • sloc: ansic: 6,608; ruby: 6,167; xml: 151; sh: 74; makefile: 12
file content (10 lines) | stat: -rw-r--r-- 254 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
# build the test lib for this Ruby version
system('make -f libtest/GNUmakefile') or raise("Failed to build test library")

require 'rspec/autorun'
Dir.glob('spec/*/*_spec.rb').each do |spec|
  require spec
end

# cleanup test library
require 'fileutils'