summaryrefslogtreecommitdiff
path: root/lib/rake/rake_test_loader.rb
blob: 045a12fdce7eee9bb2cc1d89888fc03e7169f2fa (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
require 'rake'

# Load the test files from the command line.

ARGV.each do |f|
  next if f =~ /^-/

  if f =~ /\*/
    FileList[f].to_a.each { |fn| require File.expand_path(fn) }
  else
    require File.expand_path(f)
  end
end