Skip to content

Commit

Permalink
doc: enrich test command with executable
Browse files Browse the repository at this point in the history
PR-URL: #44347
Reviewed-By: Darshan Sen <raisinten@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Richard Lau <rlau@redhat.com>
  • Loading branch information
tony-go authored and MylesBorins committed Feb 18, 2023
1 parent 129c9e7 commit a7beac0
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion BUILDING.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.

Expand Down

0 comments on commit a7beac0

Please sign in to comment.