mirror of
https://gitlab.com/mbunkus/mkvtoolnix.git
synced 2024-12-25 04:11:44 +00:00
tests: prevent updating results if results contain 'failed'
This commit is contained in:
parent
889d3910ef
commit
12284bf662
@ -134,7 +134,9 @@ class Controller
|
|||||||
idx += 1 unless command[:no_result]
|
idx += 1 unless command[:no_result]
|
||||||
end
|
end
|
||||||
|
|
||||||
if (update_failed)
|
if (update_failed && actual_results.include?("failed"))
|
||||||
|
self.add_result class_name, :failed, :message => msg + " FATAL: cannot update result as test results include 'failed'"
|
||||||
|
elsif (update_failed)
|
||||||
self.add_result class_name, :passed, :message => msg + " UPDATING result\n", :checksum => result, :duration => duration
|
self.add_result class_name, :passed, :message => msg + " UPDATING result\n", :checksum => result, :duration => duration
|
||||||
else
|
else
|
||||||
self.add_result class_name, :failed, :message => msg
|
self.add_result class_name, :failed, :message => msg
|
||||||
|
Loading…
Reference in New Issue
Block a user