Skip to content

Commit 22c8646

Browse files
committed
small formatting change
1 parent af57648 commit 22c8646

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

toolchain/mfc/test/test.py

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -127,12 +127,14 @@ def test():
127127
[ sched.Task(ppn=case.ppn, func=handle_case, args=[case], load=case.get_cell_count()) for case in cases ],
128128
ARG("jobs"), ARG("gpus"))
129129

130+
cons.print()
131+
cons.unindent()
132+
cons.print(f"\nTest Summary: [bold green]{nPASS}[/bold green] passed, [bold red]{nFAIL}[/bold red] failed, [bold yellow]{nSKIP}[/bold yellow] skipped.\n")
133+
134+
# Print a summary of all errors at the end if errors exist
130135
for e in errors:
131136
cons.print(e)
132137

133-
cons.print()
134-
cons.unindent()
135-
cons.print(f"\nTest Summary: [bold green]{nPASS}[/bold green] passed, [bold red]{nFAIL}[/bold red] failed, [bold yellow]{nSKIP}[/bold yellow] skipped.")
136138
exit(nFAIL)
137139

138140

0 commit comments

Comments
 (0)