[PATCH 7/7] dts: remove git ref option

2024-10-02 Thread Tomáš Ďurovec
In the previous commits we're adding the support for copying the whole local DPDK tree directory and git-ref option was meant to do the same thing. Signed-off-by: Tomáš Ďurovec --- doc/guides/tools/dts.rst | 9 --- dts/framework/settings.py | 51 +++- dts/framework/uti

[PATCH 5/7] dts: add support for externally compiled DPDK

2024-10-02 Thread Tomáš Ďurovec
. Signed-off-by: Tomáš Ďurovec --- dts/conf.yaml| 23 +- dts/framework/config/__init__.py | 121 ++- dts/framework/config/conf_yaml_schema.json | 62 +++- dts/framework/config/types.py| 17 +- dts/framework/exception.py

[PATCH 6/7] doc: update argument options for external DPDK build

2024-10-02 Thread Tomáš Ďurovec
By adding support for external build, we extend the argument documentation for supported options. Signed-off-by: Tomáš Ďurovec --- doc/guides/tools/dts.rst | 9 ++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/doc/guides/tools/dts.rst b/doc/guides/tools/dts.rst index

[PATCH 4/7] dts: add the ability to copy directories via remote

2024-10-02 Thread Tomáš Ďurovec
Before, the remote session did't allows to copy directories, only files. This feature will be used in future commit. Signed-off-by: Tomáš Ďurovec --- dts/framework/testbed_model/os_session.py| 120 ++- dts/framework/testbed_model/posix_session.py | 88 +-

[PATCH 3/7] dts: fix remote session file transfer vars

2024-10-02 Thread Tomáš Ďurovec
The OSSession (and its subclasses) should accept PurePaths for remote paths to translate from OS-unaware (PurePath) to OS-aware (Path) only on the remote side. For local paths, they should accept Paths, as Python is OS-aware locally. Signed-off-by: Tomáš Ďurovec --- .../remote_session

[PATCH 1/7] dts: rename build target to DPDK build

2024-10-02 Thread Tomáš Ďurovec
Since the DPDK may already be built, some more general name is needed that includes both the DPDK location and the build config (if we are going to build). Signed-off-by: Tomáš Ďurovec --- dts/conf.yaml | 2 +- dts/framework/config/__init__.py | 26

[PATCH 2/7] dts: one dpdk build per test run

2024-10-02 Thread Tomáš Ďurovec
When the DPDK build can be already pre-build, there is not a need for defining multiple build targets. To make it cleaner we decide to use one DPDK build wheater can be pre-build or DTS will build it. Signed-off-by: Tomáš Ďurovec --- dts/conf.yaml | 14 +-- dts

[PATCH] dts: improve statistics

2024-09-30 Thread Tomáš Ďurovec
. Signed-off-by: Tomáš Ďurovec Depends-on: series-33184 ("DTS external DPDK build") --- dts/framework/runner.py | 7 +- dts/framework/test_result.py | 409 --- 2 files changed, 332 insertions(+), 84 deletions(-) diff --git a/dts/framework/runne

[PATCH 7/7] dts: remove git ref option

2024-09-30 Thread Tomáš Ďurovec
In the previous commits we're adding the support for copying the whole local DPDK tree directory and git-ref option was meant to do the same thing. Signed-off-by: Tomáš Ďurovec --- doc/guides/tools/dts.rst | 9 --- dts/framework/settings.py | 51 +++- dts/framework/uti

[PATCH 4/7] dts: add the ability to copy directories via remote

2024-09-30 Thread Tomáš Ďurovec
Before, the remote session did't allows to copy directories, only files. This feature will be used in future commit. Signed-off-by: Tomáš Ďurovec --- dts/framework/testbed_model/os_session.py| 120 ++- dts/framework/testbed_model/posix_session.py | 88 +-

[PATCH 6/7] doc: update argument options for external DPDK build

2024-09-30 Thread Tomáš Ďurovec
By adding support for external build, we extend the argument documentation for supported options. Signed-off-by: Tomáš Ďurovec --- doc/guides/tools/dts.rst | 9 ++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/doc/guides/tools/dts.rst b/doc/guides/tools/dts.rst index

[PATCH 5/7] dts: add support for externally compiled DPDK

2024-09-30 Thread Tomáš Ďurovec
. Signed-off-by: Tomáš Ďurovec --- dts/conf.yaml| 23 +- dts/framework/config/__init__.py | 121 ++- dts/framework/config/conf_yaml_schema.json | 62 +++- dts/framework/config/types.py| 17 +- dts/framework/exception.py

[PATCH 3/7] dts: fix remote session file transfer vars

2024-09-30 Thread Tomáš Ďurovec
The OSSession (and its subclasses) should accept PurePaths for remote paths to translate from OS-unaware (PurePath) to OS-aware (Path) only on the remote side. For local paths, they should accept Paths, as Python is OS-aware locally. Signed-off-by: Tomáš Ďurovec --- .../remote_session

[PATCH 2/7] dts: one dpdk build per test run

2024-09-30 Thread Tomáš Ďurovec
When the DPDK build can be already pre-build, there is not a need for defining multiple build targets. To make it cleaner we decide to use one DPDK build wheater can be pre-build or DTS will build it. Signed-off-by: Tomáš Ďurovec --- dts/conf.yaml | 14 +-- dts

[PATCH 1/7] dts: rename build target to DPDK build

2024-09-30 Thread Tomáš Ďurovec
Since the DPDK may already be built, some more general name is needed that includes both the DPDK location and the build config (if we are going to build). Signed-off-by: Tomáš Ďurovec --- dts/conf.yaml | 2 +- dts/framework/config/__init__.py | 26

[PATCH] dts: improve statistics

2024-09-29 Thread Tomáš Ďurovec
. Signed-off-by: Tomáš Ďurovec Depends-on: series-33161 ("DTS external DPDK build") --- dts/framework/runner.py | 7 +- dts/framework/test_result.py | 409 --- 2 files changed, 332 insertions(+), 84 deletions(-) diff --git a/dts/framework/runne

[PATCH 4/7] dts: add the ability to copy directories via remote

2024-09-27 Thread Tomáš Ďurovec
Before, the remote session did't allows to copy directories, only files. This feature will be used in future commit. Signed-off-by: Tomáš Ďurovec --- dts/framework/testbed_model/os_session.py| 120 ++- dts/framework/testbed_model/posix_session.py | 88 +-

[PATCH 7/7] dts: remove git ref option

2024-09-27 Thread Tomáš Ďurovec
In the previous commits we're adding the support for copying the whole local DPDK tree directory and git-ref option was meant to do the same thing. Signed-off-by: Tomáš Ďurovec --- doc/guides/tools/dts.rst | 9 --- dts/framework/settings.py | 51 +++- dts/framework/uti

[PATCH 6/7] doc: update argument options for external DPDK build

2024-09-27 Thread Tomáš Ďurovec
By adding support for external build, we extend the argument documentation for supported options. Signed-off-by: Tomáš Ďurovec --- doc/guides/tools/dts.rst | 9 ++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/doc/guides/tools/dts.rst b/doc/guides/tools/dts.rst index

[PATCH 1/7] dts: rename build target to DPDK build

2024-09-27 Thread Tomáš Ďurovec
Since the DPDK may already be built, some more general name is needed that includes both the DPDK location and the build config (if we are going to build). Signed-off-by: Tomáš Ďurovec --- dts/conf.yaml | 2 +- dts/framework/config/__init__.py | 26

[PATCH 7/7] dts: remove git ref option

2024-09-27 Thread Tomáš Ďurovec
In the previous commits we're adding the support for copying the whole local DPDK tree directory and git-ref option was meant to do the same thing. Signed-off-by: Tomáš Ďurovec --- doc/guides/tools/dts.rst | 9 --- dts/framework/settings.py | 51 +++- dts/framework/uti

[PATCH 5/7] dts: add support for externally compiled DPDK

2024-09-27 Thread Tomáš Ďurovec
. Signed-off-by: Tomáš Ďurovec --- dts/conf.yaml| 23 +- dts/framework/config/__init__.py | 121 ++- dts/framework/config/conf_yaml_schema.json | 62 +++- dts/framework/config/types.py| 17 +- dts/framework/exception.py

[PATCH 4/7] dts: add the ability to copy directories via remote

2024-09-27 Thread Tomáš Ďurovec
Before, the remote session did't allows to copy directories, only files. This feature will be used in future commit. Signed-off-by: Tomáš Ďurovec --- dts/framework/testbed_model/os_session.py| 120 ++- dts/framework/testbed_model/posix_session.py | 88 +-

[PATCH 2/7] dts: one dpdk build per test run

2024-09-27 Thread Tomáš Ďurovec
When the DPDK build can be already pre-build, there is not a need for defining multiple build targets. To make it cleaner we decide to use one DPDK build wheater can be pre-build or DTS will build it. Signed-off-by: Tomáš Ďurovec --- dts/conf.yaml | 14 +-- dts

[PATCH 3/7] dts: fix remote session file transfer vars

2024-09-27 Thread Tomáš Ďurovec
The OSSession (and its subclasses) should accept PurePaths for remote paths to translate from OS-unaware (PurePath) to OS-aware (Path) only on the remote side. For local paths, they should accept Paths, as Python is OS-aware locally. Signed-off-by: Tomáš Ďurovec --- .../remote_session

[PATCH 1/7] dts: rename build target to DPDK build

2024-09-27 Thread Tomáš Ďurovec
Since the DPDK may already be built, some more general name is needed that includes both the DPDK location and the build config (if we are going to build). Signed-off-by: Tomáš Ďurovec --- dts/conf.yaml | 2 +- dts/framework/config/__init__.py | 26

[PATCH 0/7] DTS external DPDK build

2024-09-27 Thread Tomáš Ďurovec
, otherwise will be used build configuration from config file, * Location where the DPDK source will be stored either in SUT node or local filesystem. Tomáš Ďurovec (7): dts: rename build target to DPDK build dts: one dpdk build per test run dts: fix remote session file transfer vars dts

[PATCH 6/7] doc: update argument options for external DPDK build

2024-09-27 Thread Tomáš Ďurovec
By adding support for external build, we extend the argument documentation for supported options. Signed-off-by: Tomáš Ďurovec --- doc/guides/tools/dts.rst | 9 ++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/doc/guides/tools/dts.rst b/doc/guides/tools/dts.rst index

[PATCH 5/7] dts: add support for externally compiled DPDK

2024-09-27 Thread Tomáš Ďurovec
. Signed-off-by: Tomáš Ďurovec --- dts/conf.yaml| 23 +- dts/framework/config/__init__.py | 121 ++- dts/framework/config/conf_yaml_schema.json | 62 +++- dts/framework/config/types.py| 17 +- dts/framework/exception.py

[PATCH 3/7] dts: fix remote session file transfer vars

2024-09-27 Thread Tomáš Ďurovec
The OSSession (and its subclasses) should accept PurePaths for remote paths to translate from OS-unaware (PurePath) to OS-aware (Path) only on the remote side. For local paths, they should accept Paths, as Python is OS-aware locally. Signed-off-by: Tomáš Ďurovec --- .../remote_session

[PATCH 2/7] dts: one dpdk build per test run

2024-09-27 Thread Tomáš Ďurovec
When the DPDK build can be already pre-build, there is not a need for defining multiple build targets. To make it cleaner we decide to use one DPDK build wheater can be pre-build or DTS will build it. Signed-off-by: Tomáš Ďurovec --- dts/conf.yaml | 14 +-- dts