summaryrefslogtreecommitdiff
path: root/BUILDING.md
diff options
context:
space:
mode:
authorAditya Pratap Singh <adisinghrajput@gmail.com>2019-05-04 13:45:48 +0200
committerDaniel Bevenius <daniel.bevenius@gmail.com>2019-05-07 07:31:58 +0200
commitfa3eefcb83c35a804a612a030313d6e2906038b6 (patch)
treeb4d6cec0df11b4c2cedeb4f40e125d641c8c3c8e /BUILDING.md
parent153c101a12d8dc6e149a57f0d4b94d5a310add16 (diff)
downloadandroid-node-v8-fa3eefcb83c35a804a612a030313d6e2906038b6.tar.gz
android-node-v8-fa3eefcb83c35a804a612a030313d6e2906038b6.tar.bz2
android-node-v8-fa3eefcb83c35a804a612a030313d6e2906038b6.zip
doc: add example to test doc for clarity
Update the documentation for test execution for tests in a single file PR-URL: https://github.com/nodejs/node/pull/27561 Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
Diffstat (limited to 'BUILDING.md')
-rw-r--r--BUILDING.md5
1 files changed, 3 insertions, 2 deletions
diff --git a/BUILDING.md b/BUILDING.md
index a077eb933b..8f35fa20cd 100644
--- a/BUILDING.md
+++ b/BUILDING.md
@@ -295,10 +295,11 @@ If you want to run the linter without running tests, use
`make lint`/`vcbuild lint`. It will run both JavaScript linting and
C++ linting.
-If you are updating tests and just want to run a single test to check it:
+If you are updating tests and want to run tests in a single test file
+(e.g. `test/parallel/test-stream2-transform.js`):
```text
-$ python tools/test.py -J --mode=release parallel/test-stream2-transform
+$ python tools/test.py parallel/test-stream2-transform.js
```
You can execute the entire suite of tests for a given subsystem