Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Result summary now in order of running.

  • Loading branch information...
commit 325ad5bce3d7e837f4dbf5e32ba5f0818043c119 1 parent b733076
@jimweirich jimweirich authored
Showing with 4 additions and 4 deletions.
  1. +4 −4 Rakefile
View
8 Rakefile
@@ -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
@@ -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
Please sign in to comment.
Something went wrong with that request. Please try again.