summaryrefslogtreecommitdiff
path: root/BUILDING.md
diff options
context:
space:
mode:
authorBenjamin Coe <bencoe@gmail.com>2019-01-22 12:14:41 -0800
committerBenjamin Coe <bencoe@gmail.com>2019-01-22 17:24:52 -0800
commite3f917ef65336c4ef20829654341d77da4dfb84a (patch)
tree5cfbb297183145f9e80342e799009d53580c1d7f /BUILDING.md
parent1ef175e5a434cd8c8f5bf42cf39df242c07aefd3 (diff)
downloadandroid-node-v8-e3f917ef65336c4ef20829654341d77da4dfb84a.tar.gz
android-node-v8-e3f917ef65336c4ef20829654341d77da4dfb84a.tar.bz2
android-node-v8-e3f917ef65336c4ef20829654341d77da4dfb84a.zip
doc: running coverage for individual suites
PR-URL: https://github.com/nodejs/node/pull/25622 Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com> Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com> Reviewed-By: Sakthipriyan Vairamani <thechargingvolcano@gmail.com>
Diffstat (limited to 'BUILDING.md')
-rw-r--r--BUILDING.md7
1 files changed, 4 insertions, 3 deletions
diff --git a/BUILDING.md b/BUILDING.md
index 527a72a236..fbd435172a 100644
--- a/BUILDING.md
+++ b/BUILDING.md
@@ -290,7 +290,8 @@ the first command `./configure --coverage`).
_Generating a test coverage report can take several minutes._
To collect coverage for a subset of tests you can set the `CI_JS_SUITES` and
-`CI_NATIVE_SUITES` variables:
+`CI_NATIVE_SUITES` variables (to run specific suites, e.g., `child-process`, in
+isolation, unset the opposing `_SUITES` variable):
```text
$ CI_JS_SUITES=child-process CI_NATIVE_SUITES= make coverage
@@ -299,8 +300,8 @@ $ CI_JS_SUITES=child-process CI_NATIVE_SUITES= make coverage
The above command executes tests for the `child-process` subsystem and
outputs the resulting coverage report.
-Alternatively, for the JavaScript test suite, you can use the `CI_JS_SUITES`
-variable to run tests in isolation, outputting reports:
+Alternatively, you can run `make coverage-run-js`, to execute JavaScript tests
+independently of the C++ test suite:
```text
$ CI_JS_SUITES=fs CI_NATIVE_SUITES= make coverage-run-js