1require 'rake'
2
3# Load the test files from the command line.
4argv = ARGV.select do |argument|
5  case argument
6  when /^-/ then
7    argument
8  when /\*/ then
9    FileList[argument].to_a.each do |file|
10      require File.expand_path file
11    end
12
13    false
14  else
15    require File.expand_path argument
16
17    false
18  end
19end
20
21ARGV.replace argv
22
23