Lines Matching full:testname
12 macro(ei_add_test_internal testname testname_with_suffix)
15 set(filename ${testname}.cpp)
33 ei_add_target_property(${targetname} COMPILE_FLAGS "-DEIGEN_TEST_FUNC=${testname}")
89 # the unique mandatory parameter testname must correspond to a file
90 # <testname>.cpp which follows this pattern:
93 # void test_<testname>() { ... }
102 # this macro adds an executable <testname> as well as a ctest test
103 # named <testname> too.
106 # "ctest -V" or "ctest -V -R <testname>"
120 # test_<testname>_<N>
125 # Moreover, targets <testname> are still generated, they
129 macro(ei_add_test testname)
131 set(EIGEN_TESTS_LIST "${EIGEN_TESTS_LIST}${testname}\n")
134 file(READ "${testname}.cpp" test_source)
141 add_custom_target(${testname})
143 ei_add_test_internal(${testname} ${testname}_${suffix}
145 add_dependencies(${testname} ${testname}_${suffix})
153 ei_add_test_internal(${testname} ${testname} "${ARGV1} ${symbols_to_enable_all_parts}" "${ARGV2}")
161 macro(ei_add_failtest testname)
165 message(STATUS "Checking failtest: ${testname}")
166 set(filename "${testname}.cpp")
174 message(STATUS "FAILED: ${testname} build succeeded when it should have failed")
182 message(STATUS "FAILED: ${testname} build failed when it should have succeeded")