Skip to content

Commit

Permalink
test: added also a llvm-cov report command to the 3_cov.sh script
Browse files Browse the repository at this point in the history
  • Loading branch information
nickysn committed Nov 4, 2024
1 parent 38e6e35 commit 4a1a24f
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions utils/test-coverage/3_cov.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
#! /bin/sh

# shows detailes line by line coverage in the source code (very long output):
llvm-cov show -Xdemangler=rustfilt target/debug/nargo -instr-profile=noir_tests.profdata -show-line-counts-or-regions -show-instantiations

# shows a summary of the coverage in a given cargo package (compiler/noirc_frontend in this example):
llvm-cov report --use-color --instr-profile=./noir_tests.profdata --object target/debug/nargo --sources `find compiler/noirc_frontend -name "*.rs"`

0 comments on commit 4a1a24f

Please sign in to comment.