diff options
author | Benjamin Coe <bencoe@gmail.com> | 2019-01-18 13:46:49 -0800 |
---|---|---|
committer | Benjamin <bencoe@gmail.com> | 2019-01-20 14:21:16 -0800 |
commit | d1dee495db1451e74f5364c8687148a53ff0b50d (patch) | |
tree | 362c6e33005c87c5d7df80a9e334590b23d62b76 /BUILDING.md | |
parent | fac11b05b7fa36a936cce32f303a29dd093ac2dc (diff) | |
download | android-node-v8-d1dee495db1451e74f5364c8687148a53ff0b50d.tar.gz android-node-v8-d1dee495db1451e74f5364c8687148a53ff0b50d.tar.bz2 android-node-v8-d1dee495db1451e74f5364c8687148a53ff0b50d.zip |
test: switch to native v8 coverage
PR-URL: https://github.com/nodejs/node/pull/25157
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Sakthipriyan Vairamani <thechargingvolcano@gmail.com>
Reviewed-By: Refael Ackermann <refack@gmail.com>
Diffstat (limited to 'BUILDING.md')
-rw-r--r-- | BUILDING.md | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/BUILDING.md b/BUILDING.md index 50f2984d67..b848f777f3 100644 --- a/BUILDING.md +++ b/BUILDING.md @@ -290,9 +290,15 @@ $ 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. -The `make coverage` command downloads some tools to the project root directory -and overwrites the `lib/` directory. To clean up after generating the coverage -reports: +Alternatively, for the JavaScript test suite, you can use the `CI_JS_SUITES` +variable to run tests in isolation, outputting reports: + +```text +$ CI_JS_SUITES=fs CI_NATIVE_SUITES= make coverage-run-js +``` + +The `make coverage` command downloads some tools to the project root directory. +To clean up after generating the coverage reports: ```console $ make coverage-clean |