aboutsummaryrefslogtreecommitdiffstats
path: root/coverage.sh
diff options
context:
space:
mode:
Diffstat (limited to 'coverage.sh')
-rwxr-xr-xcoverage.sh9
1 files changed, 9 insertions, 0 deletions
diff --git a/coverage.sh b/coverage.sh
new file mode 100755
index 0000000..10fdf37
--- /dev/null
+++ b/coverage.sh
@@ -0,0 +1,9 @@
1#!/bin/bash
2
3rm -rf _coverage
4echo "Running tests"
5dune test --instrument-with bisect_ppx --force
6echo "Generating report"
7bisect-ppx-report html
8bisect-ppx-report summary --per-file
9echo "See lib/extraction/interp.ml above or see the detailed report (in HTML form) at _coverage/html/lib/extraction/interp.ml.html"