Skip to content

Commit aa6a744

Browse files
committed
unittests runner log progress
1 parent 764ab9d commit aa6a744

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

graalpython/com.oracle.graal.python.test/src/python_unittests.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -158,16 +158,16 @@ def run_unittests(unittests, timeout):
158158
try:
159159
_, output = res.get(timeout)
160160
out.append(output)
161-
log("[PROGRESS] {} / {}, \t\t {}%", i, num_unittests, int((i * 100.0) / num_unittests))
162161
except TimeoutError:
163162
log("[ERR] timeout while getting results for {}, skipping!", unittests[i])
164163
timed_out.append(unittests[i])
164+
log("[PROGRESS] {} / {}: \t {}%", i+1, num_unittests, int(((i+1) * 100.0) / num_unittests))
165165

166166
log("".join(['-' for i in range(120)]))
167167
for t in timed_out:
168168
log("[TIMEOUT] skipped: {}", t)
169169
log("".join(['-' for i in range(120)]))
170-
170+
log("[STATS] processed {} out of {} unitttests", num_unittests - len(timed_out), num_unittests)
171171
pool.terminate()
172172
pool.join()
173173
return out

0 commit comments

Comments
 (0)