From a7beac04ba724d2d9f464a6ae6528c7b3257f3d6 Mon Sep 17 00:00:00 2001 From: Tony Gorez Date: Mon, 6 Feb 2023 08:50:07 +0100 Subject: [PATCH] doc: enrich test command with executable PR-URL: https://github.com/nodejs/node/pull/44347 Reviewed-By: Darshan Sen Reviewed-By: James M Snell Reviewed-By: Richard Lau --- BUILDING.md | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/BUILDING.md b/BUILDING.md index e66aa314d32991..a3ddd42fd91149 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.