blob: 3b462cc4a3712aa91b0a8d483ee95609eace0b90 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
#!/usr/bin/env ruby
require "rbconfig"
require "rss/parser"
c = Config::CONFIG
ruby = File.join(c['bindir'], c['ruby_install_name'])
RSS::AVAILABLE_PARSERS.each do |parser|
puts "------------------------------------"
puts "Using #{parser}"
puts "------------------------------------"
Dir.glob(ARGV.shift || "test/test_*") do |file|
puts(`#{ruby} #{if $DEBUG then '-d' end} -I. -I./lib test/each_parser.rb #{parser} #{file} #{ARGV.join(' ')}`)
end
end
|