regrtest: count also env changed as failures in progress (#3061)

This commit is contained in:
Victor Stinner 2017-08-10 16:19:03 +02:00 committed by GitHub
parent b501147980
commit b97d99cd7f
1 changed files with 3 additions and 2 deletions

View File

@ -132,8 +132,9 @@ class Regrtest:
# "[ 51/405/1] test_tcl passed"
line = f"{test_index:{self.test_count_width}}{self.test_count}"
if self.bad and not self.ns.pgo:
line = f"{line}/{len(self.bad)}"
fails = len(self.bad) + len(self.environment_changed)
if fails and not self.ns.pgo:
line = f"{line}/{fails}"
line = f"[{line}] {test}"
# add the system load prefix: "load avg: 1.80 "