Skip to content

Commit

Permalink
fixing failed count on legacy versions
Browse files Browse the repository at this point in the history
  • Loading branch information
TimSVector committed Oct 21, 2020
1 parent 5448576 commit 6d9e5e9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/resources/scripts/generate-results.py
Original file line number Diff line number Diff line change
Expand Up @@ -527,7 +527,7 @@ def buildReports(FullManageProjectName = None, level = None, envName = None, gen
lines = open(file,"r").readlines()
for line in lines:
if "failures" in line:
failed_count = int(line.split("\"")[5])
failed_count += int(line.split("\"")[5])
break
except:
print (" *Problem parsing file " + file + " to parse for unit testcase failures")
Expand Down

0 comments on commit 6d9e5e9

Please sign in to comment.