History log of /spdk/lib/ut/ut.c (Results 1 – 3 of 3)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
Revision tags: v24.05, v24.09-pre, v24.05-rc1, LTS, v24.01, v24.05-pre, v24.01-rc1, v23.09, v24.01-pre, v23.09-rc1
# f1167cb5 28-Jul-2023 Konrad Sztyber <konrad.sztyber@intel.com>

ut: add option to register extra command-line params

Some test apps with functional tests also use CUnit for executing the
tests. Some of them (e.g. nvme_compliance) can take extra command-line
par

ut: add option to register extra command-line params

Some test apps with functional tests also use CUnit for executing the
tests. Some of them (e.g. nvme_compliance) can take extra command-line
parameters. To support this, spdk_ut_run_tests() was extended with
options allowing users to specify those extra parameters.

Signed-off-by: Konrad Sztyber <konrad.sztyber@intel.com>
Change-Id: I5c23add108cdfa6ef614e36f1e71339fdeb43478
Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/19287
Community-CI: Mellanox Build Bot
Reviewed-by: Aleksey Marchuk <alexeymar@nvidia.com>
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
Reviewed-by: Tomasz Zawadzki <tomasz.zawadzki@intel.com>

show more ...


# 8fec33ae 28-Jul-2023 Konrad Sztyber <konrad.sztyber@intel.com>

ut: add option to list tests

Signed-off-by: Konrad Sztyber <konrad.sztyber@intel.com>
Change-Id: If1a9a7979441a8361152ddf4421dfce131d26383
Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/19

ut: add option to list tests

Signed-off-by: Konrad Sztyber <konrad.sztyber@intel.com>
Change-Id: If1a9a7979441a8361152ddf4421dfce131d26383
Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/19286
Reviewed-by: Aleksey Marchuk <alexeymar@nvidia.com>
Community-CI: Mellanox Build Bot
Reviewed-by: Tomasz Zawadzki <tomasz.zawadzki@intel.com>
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>

show more ...


# 3c6897d0 28-Jul-2023 Konrad Sztyber <konrad.sztyber@intel.com>

lib: add ut library

The purpose of this new library is to provide helpers functions for
common unit test tasks. In the first iteration, it'll provide an
interface for running the tests based on the

lib: add ut library

The purpose of this new library is to provide helpers functions for
common unit test tasks. In the first iteration, it'll provide an
interface for running the tests based on the command-line parameters.
To use it, the calls to CU_basic_run_tests() need to be replaced with
spdk_ut_run_tests().

When working on a feature, it's often useful to run a single test case,
as it makes easier to read the logs. So, the command-line interface
provides parameters to select the test case (-t, --test) or test suite
(-s, --suite) to execute. By default, if no arguments are specified,
all tests in all test suites are executed. If there's only a single
test suite registered (like in most unit tests), users can omit the test
suite argument.

Signed-off-by: Konrad Sztyber <konrad.sztyber@intel.com>
Change-Id: Ia8fd4bc047e7c6adf21a71215a0fd3d4f06bc834
Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/19285
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
Reviewed-by: Aleksey Marchuk <alexeymar@nvidia.com>
Reviewed-by: Tomasz Zawadzki <tomasz.zawadzki@intel.com>
Community-CI: Mellanox Build Bot

show more ...