You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/developer-guide/testing.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -189,7 +189,7 @@ To run `bisect_ppx` locally:
189
189
190
190
1. Install bisect_ppx with `opam install bisect_ppx`.
191
191
2. Run `make coverage` to build Goblint with bisect_ppx instrumentation.
192
-
3. Run tests with coverage: `dune runtest --instrument-with bisect_ppx` (this will now generate `.coverage` files in various directories).
193
-
4. Generate coverage report with `bisect-ppx-report html`.
194
-
5. After that the generated `.coverage` files can be removed with `find . -type f -name '*.coverage' -delete`.
192
+
3. Run tests with coverage: `mkdir -p _build/coverage ; BISECT_FILE="$(pwd)/_build/coverage/bisect" dune runtest --force --instrument-with bisect_ppx` (this will generate `.coverage` files into the directory `_build/coverage`).
193
+
4. Generate coverage report with `bisect-ppx-report html`.
194
+
Note: after that the generated `.coverage` files can be removed (e.g., with `find . -type f -name '*.coverage' -delete` or by deleting `_build/coverage`).
195
195
6. The HTML report can be found in the `_coverage` folder.
0 commit comments