]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
tests/fio: add dependency for tests target from fio-ceph-objectstore 23120/head
authorIgor Fedotov <ifedotov@suse.com>
Wed, 18 Jul 2018 21:46:04 +0000 (00:46 +0300)
committerIgor Fedotov <ifedotov@suse.com>
Wed, 18 Jul 2018 21:46:04 +0000 (00:46 +0300)
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 <ifedotov@suse.com>
src/test/CMakeLists.txt

index b5f1fc44af1b5ea92b7c51bf52809c2d337070b9..6ad9840ac059b6381e60f521284025c0de24b239 100644 (file)
@@ -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)