Skip to content

Commit eac438a

Browse files
bcoeaddaleax
authored andcommitted
doc: running coverage for individual suites
PR-URL: #25622 Reviewed-By: Michael Dawson <[email protected]> Reviewed-By: Vse Mozhet Byt <[email protected]> Reviewed-By: Sakthipriyan Vairamani <[email protected]>
1 parent 7490fc8 commit eac438a

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

BUILDING.md

+4-3
Original file line numberDiff line numberDiff line change
@@ -281,7 +281,8 @@ the first command `./configure --coverage`).
281281
_Generating a test coverage report can take several minutes._
282282

283283
To collect coverage for a subset of tests you can set the `CI_JS_SUITES` and
284-
`CI_NATIVE_SUITES` variables:
284+
`CI_NATIVE_SUITES` variables (to run specific suites, e.g., `child-process`, in
285+
isolation, unset the opposing `_SUITES` variable):
285286

286287
```text
287288
$ CI_JS_SUITES=child-process CI_NATIVE_SUITES= make coverage
@@ -290,8 +291,8 @@ $ CI_JS_SUITES=child-process CI_NATIVE_SUITES= make coverage
290291
The above command executes tests for the `child-process` subsystem and
291292
outputs the resulting coverage report.
292293

293-
Alternatively, for the JavaScript test suite, you can use the `CI_JS_SUITES`
294-
variable to run tests in isolation, outputting reports:
294+
Alternatively, you can run `make coverage-run-js`, to execute JavaScript tests
295+
independently of the C++ test suite:
295296

296297
```text
297298
$ CI_JS_SUITES=fs CI_NATIVE_SUITES= make coverage-run-js

0 commit comments

Comments
 (0)