mirror of
https://gitlab.com/mbunkus/mkvtoolnix.git
synced 2024-12-24 11:54:01 +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]
|
||||
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
|
||||
else
|
||||
self.add_result class_name, :failed, :message => msg
|
||||
|
Loading…
Reference in New Issue
Block a user