[test] Fix tests expected to fail count.

Bug: v8:6917
Change-Id: I45ee0277bd243559746f9bc9396d1a8900c891cc
Reviewed-on: https://chromium-review.googlesource.com/832026
Commit-Queue: Michael Achenbach <machenbach@chromium.org>
Reviewed-by: Sergiy Byelozyorov <sergiyb@chromium.org>
Reviewed-by: Michael Achenbach <machenbach@chromium.org>
Cr-Commit-Position: refs/heads/master@{#50159}
This commit is contained in:
Michal Majewski 2017-12-18 13:23:14 +01:00 committed by Commit Bot
parent de72192f23
commit 9ab1c76adc

View File

@ -58,7 +58,7 @@ def PrintReport(tests):
passes += 1
if statusfile.IsFailOk(outcomes):
fail_ok += 1
if list(outcomes) == [statusfile.FAIL]:
if statusfile.FAIL in outcomes and statusfile.PASS not in outcomes:
fail += 1
print REPORT_TEMPLATE % {