File: ruby-tests.rb

package info (click to toggle)
ruby-libxml 2.3.2-1
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 1,812 kB
  • sloc: xml: 9,628; ruby: 7,119; ansic: 6,665; makefile: 2
file content (16 lines) | stat: -rw-r--r-- 417 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/usr/bin/ruby
### $LOAD_PATH << Dir.pwd + '/lib' << Dir.pwd + '/ext'
instdir = 'debian/ruby-libxml'
$LOAD_PATH.map {|path| '%s/%s/%s' % [Dir.pwd, instdir, path]}.
  select {|path| File.exist?(path)}.
  each {|path| $LOAD_PATH << path}

#Dir.chdir('test')
#Dir.open('.').select {|f| f=~/\.rb$/}.each do |f|
#  begin
#    require f
#  rescue
#    'Error loading test: %s' % f
#  end
#end
require "test/test_suite.rb"