| #
355312bf |
| 26-Jan-2024 |
Tomasz Zawadzki <tomasz.zawadzki@intel.com> |
so_ver: increase all major versions after SPDK 24.01
To allow SO_MINOR updates on LTS for the whole year it is supported, the major version for all components needs to be increased. This is to preve
so_ver: increase all major versions after SPDK 24.01
To allow SO_MINOR updates on LTS for the whole year it is supported, the major version for all components needs to be increased. This is to prevent scenario where two versions exists with matching versions, but conflicting ABI. Ex. Next SPDK release adds an API call increasing the minor version, then LTS needs just a subset of those additions.
Increasing major so version after LTS, allows the future releases to update versions as needed. Yet allowing LTS to increase minor version separately.
This patch: - increases SO_VER by 1 for all components - resets SO_MINOR to 0 for all components
Due to patch below being introduced after v24.01 code freeze, bdev lib version should not be increased: 61623c5ca9 bdev: add spdk_bdev_io padding in place of io_submit_ch
Short reference to how the versions were changed: MAX=$(git grep "SO_VER := " | cut -d" " -f 3 | sort -ubnr | head -1) for((i=$MAX;i>0;i-=1)); do find . -name "Makefile" -exec \ sed -i -e "s/SO_VER := $i\$/SO_VER := $(($i+1))/g" {} +; done find . -name "Makefile" -exec \ sed -i -e "s/SO_MINOR := .*/SO_MINOR := 0/g" {} +
Signed-off-by: Tomasz Zawadzki <tomasz.zawadzki@intel.com> Change-Id: I0166d6be6c17bbbf985d48b5dfcb36f1d4af1b48 Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/21582 Reviewed-by: Konrad Sztyber <konrad.sztyber@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 ...
|