From 6b991b47918402f12bc2fc0bc24e0004e2fc04ee Mon Sep 17 00:00:00 2001 From: Aleksandr Bykov Date: Wed, 25 Oct 2023 17:28:26 +0700 Subject: [PATCH] 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 --- docs/dev/testing.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/docs/dev/testing.md b/docs/dev/testing.md index 8bcc4ef46c..d17cf84a55 100644 --- a/docs/dev/testing.md +++ b/docs/dev/testing.md @@ -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