Lines Matching refs:testname
12 macro(ei_add_test_internal testname testname_with_suffix)
16 set(filename ${testname}.${EIGEN_ADD_TEST_FILENAME_EXTENSION})
18 set(filename ${testname}.cpp)
62 ei_add_target_property(${targetname} COMPILE_FLAGS "-DEIGEN_TEST_FUNC=${testname}")
113 macro(ei_add_test_internal_sycl testname testname_with_suffix)
118 set(filename ${testname}.${EIGEN_ADD_TEST_FILENAME_EXTENSION})
120 set(filename ${testname}.cpp)
135 add_custom_target(${testname}_integration_header_sycl DEPENDS ${include_file})
138 add_dependencies(${targetname} ${testname}_integration_header_sycl)
157 ei_add_target_property(${targetname} COMPILE_FLAGS "-DEIGEN_TEST_FUNC=${testname}")
211 # the unique mandatory parameter testname must correspond to a file
212 # <testname>.cpp which follows this pattern:
215 # void test_<testname>() { ... }
224 # this macro adds an executable <testname> as well as a ctest test
225 # named <testname> too.
228 # "ctest -V" or "ctest -V -R <testname>"
242 # test_<testname>_<N>
247 # Moreover, targets <testname> are still generated, they
251 macro(ei_add_test testname)
253 set(EIGEN_TESTS_LIST "${EIGEN_TESTS_LIST}${testname}\n")
257 set(filename ${testname}.${EIGEN_ADD_TEST_FILENAME_EXTENSION})
259 set(filename ${testname}.cpp)
269 add_custom_target(${testname})
271 ei_add_test_internal(${testname} ${testname}_${suffix}
273 add_dependencies(${testname} ${testname}_${suffix})
281 … ei_add_test_internal(${testname} ${testname} "${ARGV1} ${symbols_to_enable_all_parts}" "${ARGV2}")
285 macro(ei_add_test_sycl testname)
287 set(EIGEN_TESTS_LIST "${EIGEN_TESTS_LIST}${testname}\n")
291 set(filename ${testname}.${EIGEN_ADD_TEST_FILENAME_EXTENSION})
293 set(filename ${testname}.cpp)
303 add_custom_target(${testname})
305 ei_add_test_internal_sycl(${testname} ${testname}_${suffix}
307 add_dependencies(${testname} ${testname}_${suffix})
315 …ei_add_test_internal_sycl(${testname} ${testname} "${ARGV1} ${symbols_to_enable_all_parts}" "${ARG…
322 macro(ei_add_failtest testname)
326 message(STATUS "Checking failtest: ${testname}")
327 set(filename "${testname}.cpp")
335 message(STATUS "FAILED: ${testname} build succeeded when it should have failed")
343 message(STATUS "FAILED: ${testname} build failed when it should have succeeded")