Skip to content

Commit

Permalink
errorDetection now prints all lines when an unexpected number of erro…
Browse files Browse the repository at this point in the history
…rs occurs.

(cherry picked from commit 015fb33)
  • Loading branch information
InsertCreativityHere authored and externl committed Dec 7, 2023
1 parent 0d709b7 commit 0258f56
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions cpp/test/Slice/errorDetection/test.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,8 @@ def runClientSide(self, current):
with open(os.path.join(testdir, regex1.sub(".err", file)), "r") as f:
lines2 = f.readlines()
if len(lines1) != len(lines2):
current.writeln("lines1 = {0}".format(lines1))
current.writeln("lines2 = {0}".format(lines2))
raise RuntimeError("failed (lines1 = {0}, lines2 = {1})!".format(len(lines1), len(lines2)))

regex2 = re.compile("^.*(?=" + os.path.basename(file) + ")")
Expand Down

0 comments on commit 0258f56

Please sign in to comment.