diff options
author | Tony Gorez <gorez.tony@gmail.com> | 2023-02-06 08:50:07 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-02-06 07:50:07 +0000 |
commit | 2dacd0708a7c7a1abe55775074d90e7fbfd4ea7f (patch) | |
tree | c03c87bd2c9f84236f8b1131930a70a26b6a1b95 /BUILDING.md | |
parent | 63eca7fec0db91d04c226a625e48095057181545 (diff) | |
download | node-new-2dacd0708a7c7a1abe55775074d90e7fbfd4ea7f.tar.gz |
doc: enrich test command with executable
PR-URL: https://github.com/nodejs/node/pull/44347
Reviewed-By: Darshan Sen <raisinten@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Richard Lau <rlau@redhat.com>
Diffstat (limited to 'BUILDING.md')
-rw-r--r-- | BUILDING.md | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/BUILDING.md b/BUILDING.md index e66aa314d3..a3ddd42fd9 100644 --- a/BUILDING.md +++ b/BUILDING.md @@ -342,12 +342,17 @@ the `--help` option: $ tools/test.py --help ``` +> Note: On Windows you should use `python3` executable. +> Example: `python3 tools/test.py test/message` + You can usually run tests directly with node: ```text -$ ./node ./test/parallel/test-stream2-transform.js +$ ./node test/parallel/test-stream2-transform.js ``` +> Info: `./node` points to your local Node.js build. + Remember to recompile with `make -j4` in between test runs if you change code in the `lib` or `src` directories. |