+6
−0
lib/ut/Makefile
0 → 100644
+18
−0
lib/ut/spdk_ut.map
0 → 100644
+6
−0
lib/ut/ut.c
0 → 100644
+147
−0
Loading
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