]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
cmake: pass unparsed args to add_ceph_test() 40523/head
authorKefu Chai <kchai@redhat.com>
Tue, 30 Mar 2021 08:18:48 +0000 (16:18 +0800)
committerKefu Chai <kchai@redhat.com>
Wed, 31 Mar 2021 13:02:03 +0000 (21:02 +0800)
commit01404b104ec6125c446a097b2041e672a347b0e7
tree942d7c07dcdeec48e84d92e8e5bf9eb94051678d
parente53189b5a6eea457e3fae64501ffc7c53cf5c44b
cmake: pass unparsed args to add_ceph_test()

this allows us to pass extra argument to the script or executable to
further customize its behavior when testing.

also fix all the callers of add_ceph_unittest(), as there is no need to
repeat the executable, which is also used as the name of the test.

Signed-off-by: Kefu Chai <kchai@redhat.com>
(cherry picked from commit 65776d31120f1a5d5f4dd546de75d43d9b3cd6b4)

Conflicts:
src/test/crimson/CMakeLists.txt
src/test/crimson/seastore/CMakeLists.txt: trivial resolution
cmake/modules/AddCephTest.cmake
src/test/common/CMakeLists.txt
src/test/crimson/CMakeLists.txt
src/test/crimson/seastore/CMakeLists.txt
src/test/crimson/seastore/onode_tree/CMakeLists.txt