Commit 6913f0e2 authored by Harald Sitter's avatar Harald Sitter 🏳🌈
Browse files

skip unk litter

unk is unknown. why the bloody hell it is unk I don't know. I mean. wtf?
parent c3e3975f
...@@ -47,7 +47,13 @@ class JUnit ...@@ -47,7 +47,13 @@ class JUnit = File.basename(test_file).match(/result-(.+)\.json/)[1] = File.basename(test_file).match(/result-(.+)\.json/)[1]
self.package = name self.package = name
self.report_path = "junit/#{name}.xml" self.report_path = "junit/#{name}.xml"
def casify(data)
data.fetch('details').each do |detail| data.fetch('details').each do |detail|
# Skip unknown results.
next if detail.fetch('result') == 'unk'
add_case( add_case(
end end
add_case(meta_case(data)) 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