1
0
mirror of https://github.com/mariadb-corporation/mariadb-columnstore-engine.git synced 2025-07-29 08:21:15 +03:00

Skip unittest build with corresponding option in bootstrap

This commit is contained in:
Leonid Fedorov
2022-07-13 19:37:31 +03:00
parent ef8337fd60
commit f8fb8beed9

View File

@ -157,10 +157,17 @@ build()
-DBUILD_CONFIG=mysql_release
-DWITH_WSREP=OFF
-DWITH_SSL=system
-DWITH_UNITTESTS=YES
-DWITH_BRM_UT=YES
-DCMAKE_INSTALL_PREFIX:PATH=$INSTALL_PREFIX"
if [[ $SKIP_UNIT_TESTS = true ]] ; then
warn "Unittests are not build"
MDB_CMAKE_FLAGS="${MDB_CMAKE_FLAGS} -DWITH_UNITTESTS=NO -DWITH_BRM_UT=NO"
else
MDB_CMAKE_FLAGS="${MDB_CMAKE_FLAGS} -DWITH_UNITTESTS=YES -DWITH_BRM_UT=YES"
message "Buiding with unittests"
fi
cd $MDB_SOURCE_PATH
if [[ $SKIP_SUBMODULES = true ]] ; then