diff --git a/constantine.nimble b/constantine.nimble index 941c631..10ef373 100644 --- a/constantine.nimble +++ b/constantine.nimble @@ -237,7 +237,7 @@ const benchDesc = [ "bench_summary_bn254_nogami", "bench_summary_bn254_snarks", "bench_summary_pasta", - "bench_poly_1305", + "bench_poly1305", "bench_sha256", "bench_hash_to_curve", "bench_blssig_on_bls12_381_g2" diff --git a/helpers/pararun.nim b/helpers/pararun.nim index 788d7b9..a06116b 100644 --- a/helpers/pararun.nim +++ b/helpers/pararun.nim @@ -84,6 +84,7 @@ proc enqueuePendingCommands(wq: WorkQueue) {.async.} = wq.outputQueue.putNoWait((cmd, p)) proc flushCommandsOutput(wq: WorkQueue) {.async.} = + var id = 0 while true: let (cmd, p) = await wq.outputQueue.get() @@ -100,7 +101,9 @@ proc flushCommandsOutput(wq: WorkQueue) {.async.} = let exitCode = p.peekExitCode() if exitCode != 0: - quit exitCode + quit "Command #" & $id & "exited with error " & $exitCode, exitCode + + id += 1 if wq.cmdQueue.len == 0 and wq.outputQueue.len == 0: return