Skip to content

Commit

Permalink
fix ccache output
Browse files Browse the repository at this point in the history
  • Loading branch information
khancyr committed Nov 25, 2024
1 parent 58f23e2 commit 2f095ef
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Tools/scripts/build_tests/test_ccache.py
Original file line number Diff line number Diff line change
Expand Up @@ -79,8 +79,8 @@ def build_board(boardname):
with open(summary_file, 'a') as f:
f.write("### ccache -s Output\n")
f.write(f"```\n{result.stdout}\n```\n")
f.write("### ccache hit percentage\n")
f.write("ccache hit percentage: %.1f%% %s" % (hit_pct, post))
f.write("f### ccache hit percentage (min {args.min_cache_pct})\n")
f.write("ccache hit percentage: %.1f%% %s\n" % (hit_pct, post))
if hit_pct < args.min_cache_pct:
print("ccache hits too low, need %d%%" % args.min_cache_pct)
sys.exit(1)
Expand Down

0 comments on commit 2f095ef

Please sign in to comment.