benchmark/run.rb in manveru-ramaze-2008.10 vs benchmark/run.rb in manveru-ramaze-2008.12
- old
+ new
@@ -174,10 +174,10 @@
end
end
# benchmarks
__DIR__ = File.expand_path(File.dirname(__FILE__))
- Dir[__DIR__/"suite"/"*.rb"].each do |filename|
+ Dir[__DIR__('suite/*.rb')].each do |filename|
@adapters.each do |adapter|
@paths.each do |path|
benchmark(filename, adapter, path) if @target.match(filename)
end
end