From 25ff71813ce37c32d1b0c6608d20e64e8e84eb61 Mon Sep 17 00:00:00 2001 From: Igor Fedotov Date: Thu, 19 Jul 2018 00:46:04 +0300 Subject: [PATCH] tests/fio: add dependency for tests target from fio-ceph-objectstore plugin. This will make sure it's built by run-make-check.sh and hence avoid build failures after incomplete code updates. Signed-off-by: Igor Fedotov --- src/test/CMakeLists.txt | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/test/CMakeLists.txt b/src/test/CMakeLists.txt index b5f1fc44af1b5..6ad9840ac059b 100644 --- a/src/test/CMakeLists.txt +++ b/src/test/CMakeLists.txt @@ -572,6 +572,10 @@ endif(WITH_RBD) if(WITH_RADOSGW) add_dependencies(tests radosgw radosgw-admin) endif(WITH_RADOSGW) +#add dependency from fio just to ensure the plugin build isn't failing +if(WITH_FIO OR WITH_SYSTEM_FIO) + add_dependencies(tests fio_ceph_objectstore) +endif() if(WITH_RBD) add_ceph_test(run-rbd-unit-tests.sh ${CMAKE_CURRENT_SOURCE_DIR}/run-rbd-unit-tests.sh) -- 2.39.5