diff options
Diffstat (limited to 'Tests/RunCMake/GoogleTest/GoogleTest-discovery-check-test-list-extra-args.cmake')
-rw-r--r-- | Tests/RunCMake/GoogleTest/GoogleTest-discovery-check-test-list-extra-args.cmake | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/Tests/RunCMake/GoogleTest/GoogleTest-discovery-check-test-list-extra-args.cmake b/Tests/RunCMake/GoogleTest/GoogleTest-discovery-check-test-list-extra-args.cmake new file mode 100644 index 0000000..1a54e0b --- /dev/null +++ b/Tests/RunCMake/GoogleTest/GoogleTest-discovery-check-test-list-extra-args.cmake @@ -0,0 +1,6 @@ +list(LENGTH test_list_extra_args_TESTS LIST_SIZE) +set(EXPECTED_SIZE 4) +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_extra_args_TESTS}]") +endif() |