Navigation Menu

Skip to content

Commit

Permalink
Result summary now in order of running.
Browse files Browse the repository at this point in the history
  • Loading branch information
jimweirich committed Dec 23, 2010
1 parent b733076 commit 325ad5b
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Rakefile
Expand Up @@ -143,12 +143,12 @@ task :cruise => :run_all

desc "Run the completed koans againts a list of relevant Ruby Implementations"
task :run_all do
results = {}
results = []
RubyImpls.list.each do |impl|
puts "=" * 40
puts "On Ruby #{impl}"
res = sh "rvm #{impl} rake run"
results[impl] = res
sh "rvm #{impl} rake run"
results << [impl, "RAN"]
puts
end
puts "=" * 40
Expand All @@ -160,6 +160,6 @@ task :run_all do
puts
RubyImpls.expected.each do |requested_impl|
impl_pattern = Regexp.new(Regexp.quote(requested_impl))
puts "No Results for #{requested_impl}" if results.keys.grep(impl_pattern).empty?
puts "No Results for #{requested_impl}" unless results.detect { |x| x.first =~ impl_pattern }
end
end

0 comments on commit 325ad5b

Please sign in to comment.