Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Tree: 81903457be
Fetching contributors…

Cannot retrieve contributors at this time

executable file 20 lines (13 sloc) 0.367 kB
#!/usr/bin/env ruby
Dir.chdir(File.dirname(__FILE__))
class String
def same_file?(other)
File.expand_path(self) == File.expand_path(other)
end
end
candidates = Dir.glob('test_*.rb')
to_exclude = [__FILE__, 'test_helper.rb']
test_files = candidates.reject {|f| to_exclude.any? {|ex| f.same_file?(ex) } }
test_files.each do |tf|
system "ruby #{tf}"
end
Jump to Line
Something went wrong with that request. Please try again.