You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
cmake/Tests/RunCMake/GoogleTest/GoogleTest-discovery-check-...

7 lines
259 B

list(LENGTH test_list_test_TESTS LIST_SIZE)
set(EXPECTED_SIZE 2)
if(NOT LIST_SIZE EQUAL ${EXPECTED_SIZE})
message("TEST_LIST should have ${EXPECTED_SIZE} elements but it has ${LIST_SIZE}")
message("The unexpected list: [${test_list_test_TESTS}]")
endif()