File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -72,15 +72,15 @@ function(openmethod_compile_fail_test testname fail_regex)
7272 add_library ("compile-fail-${testname} " STATIC EXCLUDE_FROM_ALL "${testname} .cpp" )
7373 target_link_libraries ("compile-fail-${testname} " PRIVATE Boost::openmethod )
7474 add_test (
75- NAME "openmethod-compile-fail- ${testname} "
75+ NAME "openmethod-${testname} "
7676 COMMAND "${CMAKE_COMMAND} " --build ${CMAKE_BINARY_DIR} --target "compile-fail-${testname} " --config $<CONFIG >)
77- set_property (TEST "openmethod-compile-fail- ${testname} " PROPERTY PASS_REGULAR_EXPRESSION "${fail_regex} " )
77+ set_property (TEST "openmethod-${testname} " PROPERTY PASS_REGULAR_EXPRESSION "${fail_regex} " )
7878endfunction ()
7979
8080openmethod_compile_fail_test (
8181 compile_fail_non_polymorphic_virtual_parameter "parameter is not a polymorphic class" )
8282openmethod_compile_fail_test (
83- compile_fail_non_polymorphic_virtual_ptr "no matching constructor " )
83+ compile_fail_non_polymorphic_virtual_ptr ".* " )
8484openmethod_compile_fail_test (
8585 compile_fail_virtual_parameter_to_value "virtual_traits not specialized for type" )
8686openmethod_compile_fail_test (
You can’t perform that action at this time.
0 commit comments