Lines Matching +full:cxx +full:- +full:test +full:- +full:suite
4 # download test data
9 # test fixture to download test data
10 add_test(NAME "download_test_data" COMMAND ${CMAKE_COMMAND} --build ${CMAKE_BINARY_DIR}
11 --target download_test_data
17 message(STATUS "Executing test suite with Valgrind (${CMAKE_MEMORYCHECK_COMMAND})")
18 …MAKE_MEMORYCHECK_COMMAND} ${CMAKE_MEMORYCHECK_COMMAND_OPTIONS} --error-exitcode=1 --leak-check=ful…
42 # test functions
56 # Supply test- and standard-specific build settings and/or test properties.
57 # Specify multiple tests using a list e.g., "test-foo;test-bar".
59 # Must be called BEFORE the test is created.
71 foreach(test ${tests})
72 if("${test}" STREQUAL "all")
73 set(test "") variable
78 if("${test}" STREQUAL "")
81 set(test_interface _json_test_interface_${test})
83 set(test_interface _json_test_interface_${test}_cpp_${cxx_standard})
129 # apply standard-specific build settings
134 # apply test-specific build settings
139 # apply test- and standard-specific build settings
153 COMMAND ${test_target} ${DOCTEST_TEST_FILTER} --no-skip
159 # apply standard-specific test properties
164 # apply test-specific test properties
169 # apply test- and standard-specific test properties
194 # Given a <file> unit-foo.cpp, produces
196 # test-foo_cpp<version_number>
200 # Use NAME <name> to override the filename-derived test name.
201 # Use FORCE to create the test regardless of the file containing
203 # Test targets are linked against <main>.
216 string(REGEX REPLACE "unit-([^$]+)" "test-\\1" test_name ${file_basename})
219 if(NOT test_name MATCHES "test-[^$]+")
220 message(FATAL_ERROR "Test name must start with 'test-'.")
237 if(${has_cpp_found} EQUAL -1)
250 # Check if the 32bit unit test should be built based on the value of <input>
261 check_type_size("size_t" sizeof_size_t LANGUAGE CXX)
263 message(STATUS "Auto-enabling 32bit unit test.")