From: David Zafman Date: Tue, 26 Jul 2016 20:23:52 +0000 (-0700) Subject: cmake: Support extra arguments to tests using add_ceph_test X-Git-Tag: ses5-milestone5~247^2~7 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=b0be797ae612911e8d6eebf301cea545008940fe;p=ceph.git cmake: Support extra arguments to tests using add_ceph_test Signed-off-by: David Zafman --- diff --git a/cmake/modules/AddCephTest.cmake b/cmake/modules/AddCephTest.cmake index 7f6fce30160a..8506f9e2d60d 100644 --- a/cmake/modules/AddCephTest.cmake +++ b/cmake/modules/AddCephTest.cmake @@ -2,7 +2,7 @@ #adds makes target/script into a test, test to check target, sets necessary environment variables function(add_ceph_test test_name test_path) - add_test(NAME ${test_name} COMMAND ${test_path}) + add_test(NAME ${test_name} COMMAND ${test_path} ${ARGN}) add_dependencies(tests ${test_name}) set_property(TEST ${test_name}