Skip to content

Commit

Permalink
Merge pull request #16326 from MinaProtocol/dkijania/port_snark_profi…
Browse files Browse the repository at this point in the history
…ler_test_dev

[DEV] Fail the build on error match in output
  • Loading branch information
dkijania authored Nov 6, 2024
2 parents dbb7994 + db4a1d2 commit ca9c8c8
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion scripts/snark_transaction_profiler.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,9 @@ def parse_stats (output) :
stats = parse_stats (output)
#TODO: add code to check against some threshold
print(stats)


print(f"exit code: {process_exit_code}")

if not process_exit_code == 0:
print('non-zero exit code from program, failing build')
sys.exit(1)

0 comments on commit ca9c8c8

Please sign in to comment.