[DRE-commits] [rails] 08/13: fix debian/ruby-tests.rb script
Antonio Terceiro
terceiro at moszumanska.debian.org
Fri Mar 4 18:31:27 UTC 2016
This is an automated email from the git hooks/post-receive script.
terceiro pushed a commit to branch master
in repository rails.
commit 8c932b26d96a92781c0a0c72b569ce8c0f24a8ea
Author: Antonio Terceiro <terceiro at debian.org>
Date: Fri Mar 4 11:30:14 2016 -0300
fix debian/ruby-tests.rb script
---
debian/ruby-tests.rb | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/debian/ruby-tests.rb b/debian/ruby-tests.rb
index 52cacd7..355018a 100644
--- a/debian/ruby-tests.rb
+++ b/debian/ruby-tests.rb
@@ -32,13 +32,13 @@ results = {}
puts
puts "cd #{component}"
- results["#{component}:#{task}"] = run("TESTOPTS='--seed=0 --verbose' #{ruby} -S rake #{task}")
+ results["#{component}:#{task}"] = run("TESTOPTS='--seed=0' #{ruby} -S rake #{task}")
puts 'cd -'
end
end
end
-if results.values.include?(false)
- puts "Failed tests: #{results.keys.join(': ')}"
- exit 1
+failed_results = results.select { |key,value| !value }
+unless failed_results.empty?
+ puts "Failed tests: #{failed_results.keys.join(': ')}"
end
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ruby-extras/rails.git
More information about the Pkg-ruby-extras-commits
mailing list