Debian Codegraph @

Tests/RunCMake/GoogleTest/GoogleTest-discovery-check-test-list-extra-args.cmake

raw
1 list(LENGTH test_list_extra_args_TESTS LIST_SIZE)
2 set(EXPECTED_SIZE 4)
3 if(NOT LIST_SIZE EQUAL ${EXPECTED_SIZE})
4 message("TEST_LIST should have ${EXPECTED_SIZE} elements but it has ${LIST_SIZE}")
5 message("The unexpected list: [${test_list_extra_args_TESTS}]")
6 endif()