Commit 67e5eb055bd025484884880f89698eb43d43d576
1 parent
fb488229
Exists in
web_steps_improvements
and in
8 other branches
plugins_tests: report broken and skip separately
Showing
1 changed file
with
3 additions
and
1 deletions
Show diff stats
lib/tasks/plugins_tests.rake
@@ -241,8 +241,10 @@ def plugins_status_report(failed) | @@ -241,8 +241,10 @@ def plugins_status_report(failed) | ||
241 | 241 | ||
242 | @all_plugins.each do |plugin| | 242 | @all_plugins.each do |plugin| |
243 | if $broken_plugins.include?(plugin) | 243 | if $broken_plugins.include?(plugin) |
244 | + status = "BROKEN" | ||
245 | + elsif failed[plugin].nil? | ||
244 | status = "SKIP" | 246 | status = "SKIP" |
245 | - elsif !failed[plugin] || failed[plugin].empty? | 247 | + elsif failed[plugin].empty? |
246 | status = "PASS" | 248 | status = "PASS" |
247 | else | 249 | else |
248 | status = "FAIL: #{failed[plugin].join(', ')}" | 250 | status = "FAIL: #{failed[plugin].join(', ')}" |