doc: add note about run test.py with toolchain/dbuild

test.py tests could be run with toolchain/dbuild and in this case
there is no need to executed ./install-dependicies.sh.

Closes scylladb/scylladb#15837
This commit is contained in:
Aleksandr Bykov
2023-10-25 17:28:26 +07:00
committed by Avi Kivity
parent 3a6e359328
commit 6b991b4791

View File

@@ -15,6 +15,9 @@ To run `test.py`, Python 3.7 or higher is required.
modules. If `install-dependencies.sh` does not support your distribution,
please manually install all Python modules it lists with `pip`.
Additionally, `toolchain/dbuid` could be used to run `test.py`. In this
case you don't need to run `./install-dependencies.sh`
## Usage
@@ -23,6 +26,10 @@ run all existing tests in all configured build modes:
$ ./test.py
In order to invoke `test.py` with `toolchain/dbuild`, you need to run
$ ./tools/toolchain/dbuild ./test.py
If you want to specify a specific build mode:
$ ./test.py --mode=dev