Commit e833095d authored by Michal Berger's avatar Michal Berger Committed by Jim Harris
Browse files

autopackage: Replace SPDK_TEST_RELEASE_BUILD with SPDK_TEST_PACKAGING



Former doesn't have much sense in the context of the actual test as
it doesn't drive an actual "release" build but rather a set of
packaging (currently RPM) tests.

Instead, use $SPDK_TEST_RELEASE_BUILD to drive the actual release
build (in this context, the LTO build).

Change-Id: Id0cb327d68c33dd42f05e684758aab1b0e306c9a
Signed-off-by: default avatarMichal Berger <michal.berger@intel.com>
Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/21876


Reviewed-by: default avatarKonrad Sztyber <konrad.sztyber@intel.com>
Reviewed-by: default avatarJim Harris <jim.harris@samsung.com>
Tested-by: default avatarSPDK CI Jenkins <sys_sgci@intel.com>
Reviewed-by: default avatarKamil Godzwon <kamilx.godzwon@intel.com>
parent d4767026
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -10,12 +10,12 @@ source "$rootdir/test/common/autobuild_common.sh"
MAKEFLAGS=${MAKEFLAGS:--j16}
cd $rootdir

if [[ $SPDK_TEST_RELEASE_BUILD -eq 1 ]]; then
if [[ $SPDK_TEST_PACKAGING -eq 1 ]]; then
	build_packaging
	$MAKE clean
fi

if [[ $RUN_NIGHTLY -eq 0 || $SPDK_TEST_UNITTEST -eq 0 ]]; then
if [[ $SPDK_TEST_RELEASE_BUILD -eq 0 ]]; then
	timing_finish
	exit 0
fi