test/common: Don't disable unit tests for scan|auto builds
Unittest job is now split into three smaller jobs, each of them requires unit tests to be built. Signed-off-by: Michal Berger <michalx.berger@intel.com> Change-Id: Ibc0dfbf6f7395a9dfe23242b532fb5cb1f8dd8f4 Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/6839 Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by: Ben Walker <benjamin.walker@intel.com> Reviewed-by: Jim Harris <james.r.harris@intel.com>
This commit is contained in:
parent
63330f68b4
commit
9aa3c063da
@ -366,7 +366,9 @@ function get_config_params() {
|
||||
fi
|
||||
fi
|
||||
|
||||
if [ $SPDK_TEST_UNITTEST -eq 0 ]; then
|
||||
if [[ $SPDK_TEST_UNITTEST -eq 0 && \
|
||||
$SPDK_TEST_SCANBUILD -eq 0 && \
|
||||
$SPDK_TEST_AUTOBUILD -eq 0 ]]; then
|
||||
config_params+=' --disable-unit-tests'
|
||||
fi
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user