Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
doc: use python3 as command
  • Loading branch information
tony-go committed Aug 23, 2022
commit ac5ddd90d7df4b47f40d28cd02444e6ceb35c71d
14 changes: 4 additions & 10 deletions BUILDING.md
Original file line number Diff line number Diff line change
Expand Up @@ -318,34 +318,28 @@ 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-exec> tools/test.py test/parallel/test-stream2-transform.js
```

For example on Mac it will be:
$ python3 tools/test.py test/parallel/test-stream2-transform.js

Comment thread
tony-go marked this conversation as resolved.
Outdated
```text
$ python3 tools/test.py child-process
```

You can execute the entire suite of tests for a given subsystem
by providing the name of a subsystem:

```text
$ <python-exec> tools/test.py child-process
$ python3 tools/test.py child-process
```

You can also execute the tests in a test suite directory
(such as `test/message`):

```text
$ <python-exec> tools/test.py test/message
$ python3 tools/test.py test/message
```

If you want to check the other options, please refer to the help by using
the `--help` option:

```text
$ <python-exec> tools/test.py --help
$ python3 tools/test.py --help
```

You can usually run tests directly with node:
Expand Down