Members of the KDE Community are recommended to subscribe to the kde-community mailing list at https://mail.kde.org/mailman/listinfo/kde-community to allow them to participate in important discussions and receive other important announcements

Commit 5601b315 authored by Harald Sitter's avatar Harald Sitter 🌼

skip test data on non-needles (e.g. TTY text waiting)

presently we do not care about TTY output WRT testing. needles is where
the business is at
parent 654293b1
......@@ -36,7 +36,7 @@ class JUnit
def initialize(detail)
super()
self.name = detail.fetch('tags')[0] || raise
self.name = detail.fetch('needle')
self.result = RESULT_MAP.fetch(detail.fetch('result'))
return unless BUILD_URL
screenshot = detail.fetch('screenshot')
......@@ -60,6 +60,9 @@ class JUnit
data.fetch('details').each do |detail|
# Skip unknown results.
next if detail.fetch('result') == 'unk'
# Discard bits that aren't needles.
# TYY waiting for example is also logged, but we don't care particlarly.
next unless detail['needle']
add_case(Case.new(detail))
end
add_case(meta_case(data))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment