]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
cmake: pass unparsed args to add_ceph_test() 40496/head
authorKefu Chai <kchai@redhat.com>
Tue, 30 Mar 2021 08:18:48 +0000 (16:18 +0800)
committerKefu Chai <kchai@redhat.com>
Tue, 30 Mar 2021 09:33:56 +0000 (17:33 +0800)
commit65776d31120f1a5d5f4dd546de75d43d9b3cd6b4
treef395b61715f6598c93b6ef1684f9bb19f1674e45
parent1a422d447849d9d00f0e1dc5f3f293f871a659a4
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>
cmake/modules/AddCephTest.cmake
src/test/common/CMakeLists.txt
src/test/crimson/CMakeLists.txt
src/test/crimson/seastore/CMakeLists.txt