run-make-check.sh is used by ceph-build/ceph-pull-requests/build/build
to run "make check". this change prepares run-make-check.sh so that we
can enable ZBD build on demand once ceph-build is updated accordingly.
Signed-off-by: Kefu Chai <kchai@redhat.com>
if [ $WITH_SEASTAR ]; then
cmake_opts+=" -DWITH_SEASTAR=ON"
fi
+ if [ $WITH_ZBD ]; then
+ cmake_opts += " -DWITH_ZBD=ON"
+ fi
configure $cmake_opts $@
build tests && echo "make check: successful build on $(git rev-parse HEAD)"
run