Commit 0d974c16 authored by Thanassis Tsiodras's avatar Thanassis Tsiodras
Browse files

Add summary execution at the end for CircleCI

parent c52cbe5e
......@@ -87,13 +87,20 @@ def main():
if os.getenv("CIRCLECI") is not None:
failed_tests = 0
run_tests = 0
msgs = []
for tst in get_tests():
res = build_me(tst)
run_tests += 1
test, result, msg = res
print("%40s: %s" % (test, color_me(result, msg)))
msgs.append((test, result, msg))
# print("%40s: %s" % (test, color_me(result, msg)))
if not result:
failed_tests += 1
# Print summary of execution at the end
for res in msgs:
test, result, msg = res
print("%40s: %s" % (test, color_me(result, msg)))
else:
print("Spawning", total_cpus, "workers to run", total_tests, "tests...\n")
pool = multiprocessing.Pool(total_cpus)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment